changeset 33423:d4a37dfbba9d

Use local-map property, not keymap on mode-line string.
author Dave Love <fx@gnu.org>
date Sun, 12 Nov 2000 00:53:35 +0000
parents c8f856ed18d0
children 82e71ffbac94
files lisp/view.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/view.el	Sun Nov 12 00:49:58 2000 +0000
+++ b/lisp/view.el	Sun Nov 12 00:53:35 2000 +0000
@@ -162,8 +162,8 @@
 	  (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.