emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit b8c2a22cda 5/8: Move a comment closer to the ac


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit b8c2a22cda 5/8: Move a comment closer to the action
Date: Tue, 19 Sep 2023 12:59:42 -0400 (EDT)

branch: elpa/git-commit
commit b8c2a22cda6d51aadadd853dd407ac9dc0a38345
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Move a comment closer to the action
---
 lisp/magit.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/magit.el b/lisp/magit.el
index 38bd291366..97e6b5f6df 100644
--- a/lisp/magit.el
+++ b/lisp/magit.el
@@ -303,8 +303,6 @@ already been run."
                  (const :tag "Use default bindings" default)
                  (const :tag "Use recommended bindings" recommended)))
 
-;; This is autoloaded and thus is used before `compat' is
-;; loaded, so we cannot use `keymap-lookup' and `keymap-set'.
 ;;;###autoload
 (progn
   (defun magit-maybe-define-global-key-bindings (&optional force)
@@ -319,6 +317,8 @@ already been run."
                              ('(("C-x g"   . magit-status)
                                 ("C-x M-g" . magit-dispatch)
                                 ("C-c M-g" . magit-file-dispatch)))))
+          ;; This is autoloaded and thus is used before `compat' is
+          ;; loaded, so we cannot use `keymap-lookup' and `keymap-set'.
           (when (or force
                     (not (or (lookup-key map (kbd key))
                              (where-is-internal def (make-sparse-keymap) t))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]