branch: elpa/magit commit 7a6074d337844a768cd5ac7c44a03eb0343e215a Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Fix autoload for magit-log-current Older Emacs releases need the long `autoload' form to load commands defined using `transient-define-suffix'. Closes #5344. --- lisp/magit-log.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/magit-log.el b/lisp/magit-log.el index 3035684f2a..92b5f8b32d 100644 --- a/lisp/magit-log.el +++ b/lisp/magit-log.el @@ -651,7 +651,7 @@ commits before and half after." "Read a string from the user to pass as parameter to OPTION." (magit-read-string (format "Type a pattern to pass to %s" option))) -;;;###autoload +;;;###autoload (autoload 'magit-log-current "magit-log" nil t) (transient-define-suffix magit-log-current (&optional args files) "Show log for the current branch, or `HEAD' if no branch is checked out." :description (##if (magit-get-current-branch) "current" "HEAD")