From 3a7702135377402015368c8307503b62c421655c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 27 Feb 2021 20:22:43 +0100 Subject: [PATCH] ; Fix mistake in easymenu conversion * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Use :style and :selected instead of :button. --- lisp/progmodes/elisp-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 048f6573727..cfc8d8fcf8b 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -149,8 +149,9 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") ["Check Documentation Strings" checkdoc :help "Check documentation strings for style requirements"] ["Auto-Display Documentation Strings" eldoc-mode - :button (:toggle . (bound-and-true-p eldoc-mode)) - :help "Display the documentation string for the item under cursor"])) + :help "Display the documentation string for the item under cursor" + :style toggle + :selected (bound-and-true-p eldoc-mode)])) (defun emacs-lisp-byte-compile () "Byte compile the file containing the current buffer." -- 2.39.2