]> git.eshelyaron.com Git - emacs.git/commitdiff
Use local-map property, not keymap on mode-line string.
authorDave Love <fx@gnu.org>
Sun, 12 Nov 2000 00:53:35 +0000 (00:53 +0000)
committerDave Love <fx@gnu.org>
Sun, 12 Nov 2000 00:53:35 +0000 (00:53 +0000)
lisp/view.el

index c02b7580015862730aacc11efd56c79413f36f23..32bd23b449fcc17a4ac5c95e67a2db1ff79322ec 100644 (file)
@@ -162,8 +162,8 @@ This is local in each buffer, once it is used.")
          (cons (list 'view-mode
                      (propertize " View"
                                  'help-echo "mouse-2: exit View mode"
-                                 'keymap (make-mode-line-mouse2-map
-                                          #'view-mode)))
+                                 'local-map (make-mode-line-mouse2-map
+                                             #'view-mode)))
                minor-mode-alist)))
 
 ;; Define keymap inside defvar to make it easier to load changes.