summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-02-21 10:10:03 +0100
committerStefan Kangas <stefan@marxist.se>2021-02-21 10:49:07 +0100
commit669b911c6660120c73b7760063d490872240a727 (patch)
treef2ceb1007a238235439a63a715f0e44f48e031f9 /lisp/emacs-lisp
parentdf932bef91122b8400299b83b774c8c5e5ee4d75 (diff)
downloademacs-669b911c6660120c73b7760063d490872240a727.tar.gz
emacs-669b911c6660120c73b7760063d490872240a727.tar.bz2
emacs-669b911c6660120c73b7760063d490872240a727.zip
; Fix previous easy-menu-define conversion
* lisp/emacs-lisp/re-builder.el (reb-mode-menu): * lisp/progmodes/make-mode.el (makefile-mode-menu): Replace :button attribute with :style and :selected.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/re-builder.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index 7f404c8296c..455fcac701f 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -250,9 +250,9 @@ Except for Lisp syntax this is the same as `reb-regexp'.")
["Change target buffer..." reb-change-target-buffer
:help "Change the target buffer and display it in the target window"]
["Case sensitive" reb-toggle-case
- :button (:toggle . (with-current-buffer
- reb-target-buffer
- (null case-fold-search)))
+ :style toggle
+ :selected (with-current-buffer reb-target-buffer
+ (null case-fold-search))
:help "Toggle case sensitivity of searches for RE Builder target buffer"]
"---"
["Quit" reb-quit