mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
(minor-mode-map-alist): Don't use it if it's void.
This commit is contained in:
parent
ee7e9c886a
commit
1434b7aabc
1 changed files with 3 additions and 2 deletions
|
|
@ -812,9 +812,10 @@ the variable vc-header-alist"
|
|||
(defvar vc-dired-prefix-map (make-sparse-keymap))
|
||||
(define-key vc-dired-prefix-map "\C-xv" vc-prefix-map)
|
||||
|
||||
(or (assq 'vc-dired-mode minor-mode-map-alist)
|
||||
(or (not (boundp 'minor-mode-map-alist))
|
||||
(assq 'vc-dired-mode minor-mode-map-alist)
|
||||
(setq minor-mode-map-alist
|
||||
(cons '(vc-dired-mode vc-dired-prefix-map)
|
||||
(cons '(vc-dired-mode . vc-dired-prefix-map)
|
||||
minor-mode-map-alist)))
|
||||
|
||||
(defun vc-dired-mode ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue