diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-05-18 07:33:07 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-05-18 07:33:07 +0000 |
commit | c9c777514f990019819b5ae84da73b2f04af0388 (patch) | |
tree | 779f4f2faf0bff20652f79ac2aac70806f114911 /lisp/vc-dispatcher.el | |
parent | 27d97230be2edf97db28180e783dfc1a8af63352 (diff) | |
download | emacs-c9c777514f990019819b5ae84da73b2f04af0388.tar.gz |
(vc-dir-previous-directory): Rename from
vc-dir-prev-directory for consistency with vc-dir-previous-line.
(vc-dir-mode-map): Fix bindings.
Diffstat (limited to 'lisp/vc-dispatcher.el')
-rw-r--r-- | lisp/vc-dispatcher.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el index 4e3267470af..8c56b982dbf 100644 --- a/lisp/vc-dispatcher.el +++ b/lisp/vc-dispatcher.el @@ -777,14 +777,14 @@ See `run-hooks'." ;; Movement. (define-key map "n" 'vc-dir-next-line) (define-key map " " 'vc-dir-next-line) - (define-key map "\t" 'vc-dir-next-line) + (define-key map "\t" 'vc-dir-next-directory) (define-key map "p" 'vc-dir-previous-line) - (define-key map [backtab] 'vc-dir-previous-line) + (define-key map [backtab] 'vc-dir-previous-directory) ;;; Rebind paragraph-movement commands. (define-key map "\M-}" 'vc-dir-next-directory) - (define-key map "\M-{" 'vc-dir-prev-directory) - (define-key map [M-down] 'vc-dir-next-directory) - (define-key map [M-up] 'vc-dir-prev-directory) + (define-key map "\M-{" 'vc-dir-previous-directory) + (define-key map [C-down] 'vc-dir-next-directory) + (define-key map [C-up] 'vc-dir-previous-directory) ;; The remainder. (define-key map "f" 'vc-dir-find-file) (define-key map "\C-m" 'vc-dir-find-file) @@ -792,8 +792,8 @@ See `run-hooks'." (define-key map "q" 'quit-window) (define-key map "g" 'vc-dir-refresh) (define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process) - (define-key map [(down-mouse-3)] 'vc-dir-menu) - (define-key map [(mouse-2)] 'vc-dir-toggle-mark) + (define-key map [down-mouse-3] 'vc-dir-menu) + (define-key map [mouse-2] 'vc-dir-toggle-mark) ;; Hook up the menu. (define-key map [menu-bar vc-dir-mode] @@ -989,7 +989,7 @@ If a prefix argument is given, move by that many lines." (throw 'foundit nil)))))))) (goto-char orig)))) -(defun vc-dir-prev-directory () +(defun vc-dir-previous-directory () "Go to the previous directory." (interactive) (let ((orig (point))) |