mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(minor-mode-map-alist): Don't use it if it's void.
This commit is contained in:
parent
ee7e9c886a
commit
1434b7aabc
@ -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…
Reference in New Issue
Block a user