emacs-diffs
[Top][All Lists]
Advanced

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

master 3ce322efef 1/2: Tweak binding of `+' in vc-dir


From: Lars Ingebrigtsen
Subject: master 3ce322efef 1/2: Tweak binding of `+' in vc-dir
Date: Sat, 24 Sep 2022 09:19:09 -0400 (EDT)

branch: master
commit 3ce322efef3c57b83d0f243c6f0d4f560d50fe7a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Tweak binding of `+' in vc-dir
    
    * lisp/vc/vc-dir.el (vc-dir-mode-map): Point to the actual
    function instead of the alias.  This makes *Help* more helpful.
---
 lisp/vc/vc-dir.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index b4568727ea..037de415e6 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -266,7 +266,7 @@ See `run-hooks'."
                  :enable (vc-find-backend-function vc-dir-backend 'push)
                  :help "Push the current branch's changes"))
     (define-key map [update]
-      '(menu-item "Update to Latest Version" vc-update
+      '(menu-item "Update to Latest Version" vc-pull
                  :help "Update the current fileset's files to their tip 
revisions"))
     (define-key map [revert]
       '(menu-item "Revert to Base Version" vc-revert
@@ -306,8 +306,8 @@ See `run-hooks'."
     (define-key map "=" #'vc-diff)        ;; C-x v =
     (define-key map "D" #'vc-root-diff)           ;; C-x v D
     (define-key map "i" #'vc-register)    ;; C-x v i
-    (define-key map "+" #'vc-update)      ;; C-x v +
-    ;; I'd prefer some kind of symmetry with vc-update:
+    (define-key map "+" #'vc-pull)        ;; C-x v +
+    ;; I'd prefer some kind of symmetry with vc-pull:
     (define-key map "P" #'vc-push)        ;; C-x v P
     (define-key map "l" #'vc-print-log)           ;; C-x v l
     (define-key map "L" #'vc-print-root-log) ;; C-x v L



reply via email to

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