diff options
| author | Dan Nicolaescu | 2008-05-18 07:33:07 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-05-18 07:33:07 +0000 |
| commit | d002d68fdcceface95296f4966f89cf14de9f8fe (patch) | |
| tree | f710669a577c31f57f8c08756735ead7384562ba | |
| parent | 3c9ee7c915c5a630860bc395751fe5591ed7b044 (diff) | |
| download | emacs-d002d68fdcceface95296f4966f89cf14de9f8fe.tar.gz emacs-d002d68fdcceface95296f4966f89cf14de9f8fe.zip | |
(vc-dir-previous-directory): Rename from
vc-dir-prev-directory for consistency with vc-dir-previous-line.
(vc-dir-mode-map): Fix bindings.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc-dispatcher.el | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1397db4779b..20174ceeec1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * vc-dispatcher.el (vc-dir-previous-directory): Rename from | ||
| 4 | vc-dir-prev-directory for consistency with vc-dir-previous-line. | ||
| 5 | (vc-dir-mode-map): Fix bindings. | ||
| 6 | |||
| 3 | * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding. | 7 | * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding. |
| 4 | 8 | ||
| 5 | 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com> | 9 | 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com> |
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'." | |||
| 777 | ;; Movement. | 777 | ;; Movement. |
| 778 | (define-key map "n" 'vc-dir-next-line) | 778 | (define-key map "n" 'vc-dir-next-line) |
| 779 | (define-key map " " 'vc-dir-next-line) | 779 | (define-key map " " 'vc-dir-next-line) |
| 780 | (define-key map "\t" 'vc-dir-next-line) | 780 | (define-key map "\t" 'vc-dir-next-directory) |
| 781 | (define-key map "p" 'vc-dir-previous-line) | 781 | (define-key map "p" 'vc-dir-previous-line) |
| 782 | (define-key map [backtab] 'vc-dir-previous-line) | 782 | (define-key map [backtab] 'vc-dir-previous-directory) |
| 783 | ;;; Rebind paragraph-movement commands. | 783 | ;;; Rebind paragraph-movement commands. |
| 784 | (define-key map "\M-}" 'vc-dir-next-directory) | 784 | (define-key map "\M-}" 'vc-dir-next-directory) |
| 785 | (define-key map "\M-{" 'vc-dir-prev-directory) | 785 | (define-key map "\M-{" 'vc-dir-previous-directory) |
| 786 | (define-key map [M-down] 'vc-dir-next-directory) | 786 | (define-key map [C-down] 'vc-dir-next-directory) |
| 787 | (define-key map [M-up] 'vc-dir-prev-directory) | 787 | (define-key map [C-up] 'vc-dir-previous-directory) |
| 788 | ;; The remainder. | 788 | ;; The remainder. |
| 789 | (define-key map "f" 'vc-dir-find-file) | 789 | (define-key map "f" 'vc-dir-find-file) |
| 790 | (define-key map "\C-m" 'vc-dir-find-file) | 790 | (define-key map "\C-m" 'vc-dir-find-file) |
| @@ -792,8 +792,8 @@ See `run-hooks'." | |||
| 792 | (define-key map "q" 'quit-window) | 792 | (define-key map "q" 'quit-window) |
| 793 | (define-key map "g" 'vc-dir-refresh) | 793 | (define-key map "g" 'vc-dir-refresh) |
| 794 | (define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process) | 794 | (define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process) |
| 795 | (define-key map [(down-mouse-3)] 'vc-dir-menu) | 795 | (define-key map [down-mouse-3] 'vc-dir-menu) |
| 796 | (define-key map [(mouse-2)] 'vc-dir-toggle-mark) | 796 | (define-key map [mouse-2] 'vc-dir-toggle-mark) |
| 797 | 797 | ||
| 798 | ;; Hook up the menu. | 798 | ;; Hook up the menu. |
| 799 | (define-key map [menu-bar vc-dir-mode] | 799 | (define-key map [menu-bar vc-dir-mode] |
| @@ -989,7 +989,7 @@ If a prefix argument is given, move by that many lines." | |||
| 989 | (throw 'foundit nil)))))))) | 989 | (throw 'foundit nil)))))))) |
| 990 | (goto-char orig)))) | 990 | (goto-char orig)))) |
| 991 | 991 | ||
| 992 | (defun vc-dir-prev-directory () | 992 | (defun vc-dir-previous-directory () |
| 993 | "Go to the previous directory." | 993 | "Go to the previous directory." |
| 994 | (interactive) | 994 | (interactive) |
| 995 | (let ((orig (point))) | 995 | (let ((orig (point))) |