diff options
| author | Eric S. Raymond | 2008-05-09 20:07:01 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 2008-05-09 20:07:01 +0000 |
| commit | 79ac8f50ea15722da21f05f37f36eea632701ff2 (patch) | |
| tree | 70942723d3000aa51b90ef1eb9db3e09855406aa | |
| parent | 7a78b6e74a96154fed9f434145a22bb1cdad425c (diff) | |
| download | emacs-79ac8f50ea15722da21f05f37f36eea632701ff2.tar.gz emacs-79ac8f50ea15722da21f05f37f36eea632701ff2.zip | |
VC directory bindings are noew documented.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/vc-dispatcher.el | 2 | ||||
| -rw-r--r-- | lisp/vc-hooks.el | 3 | ||||
| -rw-r--r-- | lisp/vc.el | 8 |
4 files changed, 8 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fb87eef929a..20e02ce4c78 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com> | 1 | 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com> |
| 2 | 2 | ||
| 3 | * vc.el (vc-dir), vc-hooks.el: Tweak the VC directory bindings. | ||
| 4 | These are now documented in the manual. | ||
| 3 | * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p, | 5 | * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p, |
| 4 | vc-dir-children-marked-p): Remove the vc-dir-insert-directories global. | 6 | vc-dir-children-marked-p): Remove the vc-dir-insert-directories global. |
| 5 | 7 | ||
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el index 64845b99614..de034116da8 100644 --- a/lisp/vc-dispatcher.el +++ b/lisp/vc-dispatcher.el | |||
| @@ -119,8 +119,6 @@ | |||
| 119 | ;; | 119 | ;; |
| 120 | ;; - add commands to move to the prev/next directory in vc-dir. | 120 | ;; - add commands to move to the prev/next directory in vc-dir. |
| 121 | ;; | 121 | ;; |
| 122 | ;; - document vc-dir in the manual. | ||
| 123 | ;; | ||
| 124 | ;; - vc-dir-menu-map-filter hook call needs to be moved to vc.el. | 122 | ;; - vc-dir-menu-map-filter hook call needs to be moved to vc.el. |
| 125 | ;; | 123 | ;; |
| 126 | 124 | ||
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 926027bdff3..be1e9f91fb3 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -995,8 +995,7 @@ Used in `find-file-not-found-functions'." | |||
| 995 | (define-key map "+" 'vc-update) | 995 | (define-key map "+" 'vc-update) |
| 996 | (define-key map "=" 'vc-diff) | 996 | (define-key map "=" 'vc-diff) |
| 997 | (define-key map "~" 'vc-revision-other-window) | 997 | (define-key map "~" 'vc-revision-other-window) |
| 998 | ;; `vc-dir' is a not-quite-ready replacement for `vc-directory' | 998 | (define-key map "?" 'vc-dir) |
| 999 | ;; (define-key map "?" 'vc-dir) | ||
| 1000 | map)) | 999 | map)) |
| 1001 | (fset 'vc-prefix-map vc-prefix-map) | 1000 | (fset 'vc-prefix-map vc-prefix-map) |
| 1002 | (define-key global-map "\C-xv" 'vc-prefix-map) | 1001 | (define-key global-map "\C-xv" 'vc-prefix-map) |
diff --git a/lisp/vc.el b/lisp/vc.el index 7e7240fcdd7..2a46d138731 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -2013,12 +2013,14 @@ outside of VC) and one wants to do some operation on it." | |||
| 2013 | ;; FIXME: Make a derived-mode instead. | 2013 | ;; FIXME: Make a derived-mode instead. |
| 2014 | ;; Add VC-specific keybindings | 2014 | ;; Add VC-specific keybindings |
| 2015 | (let ((map (current-local-map))) | 2015 | (let ((map (current-local-map))) |
| 2016 | (define-key map "v" 'vc-diff) ;; C-x v v | ||
| 2016 | (define-key map "=" 'vc-diff) ;; C-x v = | 2017 | (define-key map "=" 'vc-diff) ;; C-x v = |
| 2017 | (define-key map "a" 'vc-dir-register) | 2018 | (define-key map "i" 'vc-dir-register) ;; C-x v i |
| 2018 | (define-key map "+" 'vc-update) ;; C-x v + | 2019 | (define-key map "+" 'vc-update) ;; C-x v + |
| 2019 | (define-key map "R" 'vc-revert) ;; u is taken by dispatcher unmark. | ||
| 2020 | (define-key map "A" 'vc-annotate) ;; g is taken by dispatcher referesh | ||
| 2021 | (define-key map "l" 'vc-print-log) ;; C-x v l | 2020 | (define-key map "l" 'vc-print-log) ;; C-x v l |
| 2021 | ;; More confusing than helpful, probably | ||
| 2022 | ;(define-key map "R" 'vc-revert) ;; u is taken by dispatcher unmark. | ||
| 2023 | ;(define-key map "A" 'vc-annotate) ;; g is taken by dispatcher refresh | ||
| 2022 | (define-key map "x" 'vc-dir-hide-up-to-date)) | 2024 | (define-key map "x" 'vc-dir-hide-up-to-date)) |
| 2023 | ) | 2025 | ) |
| 2024 | ;; FIXME: Needs to alter a buffer-local map, otherwise clients may clash | 2026 | ;; FIXME: Needs to alter a buffer-local map, otherwise clients may clash |