emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3a77021: ; Fix mistake in easymenu conversion


From: Stefan Kangas
Subject: master 3a77021: ; Fix mistake in easymenu conversion
Date: Sat, 27 Feb 2021 14:24:49 -0500 (EST)

branch: master
commit 3a7702135377402015368c8307503b62c421655c
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    ; 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 048f657..cfc8d8f 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]