summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index f2f71a3fe3b..eb09e39fb59 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1547,11 +1547,9 @@ If TOGGLE has a `:menu-tag', that is used for the menu item's label."
(let ((existing (assq toggle minor-mode-alist)))
(when (and (stringp name) (not (get-text-property 0 'local-map name)))
(setq name
- (apply 'propertize name
- 'local-map (make-mode-line-mouse2-map toggle-fun)
- (unless (get-text-property 0 'help-echo name)
- (list 'help-echo
- (format "mouse-2: turn off %S" toggle))))))
+ (propertize name
+ 'local-map mode-line-minor-mode-keymap
+ 'help-echo "mouse-3: minor mode menu")))
(if existing
(setcdr existing (list name))
(let ((tail minor-mode-alist) found)