changeset 2665:531099c93082

(minor-mode-map-alist): Don't use it if it's void.
author Richard M. Stallman <rms@gnu.org>
date Tue, 04 May 1993 16:42:57 +0000
parents 334f3eeb459d
children 0988b26ce422
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Tue May 04 16:40:24 1993 +0000
+++ b/lisp/vc.el	Tue May 04 16:42:57 1993 +0000
@@ -812,9 +812,10 @@
 (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 ()