From: Stefan Kangas Date: Sat, 27 Feb 2021 19:22:43 +0000 (+0100) Subject: ; Fix mistake in easymenu conversion X-Git-Tag: emacs-28.0.90~3509 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a7702135377402015368c8307503b62c421655c;p=emacs.git ; Fix mistake in easymenu conversion * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Use :style and :selected instead of :button. --- 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."