From e3545d0d6f15d95ba4ca22cb37037ce26f36e1dd Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 21 Jan 2011 22:03:49 -0500 Subject: [PATCH] * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item. --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/re-builder.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0c7bbf41e7..b9f035f1ddc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-01-22 Chong Yidong + + * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in + "Case sensitive" menu item. + 2011-01-21 Roland McGrath * comint.el (comint-replace-by-expanded-history-before-point): Fix diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index 26646640350..db14b9574e6 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el @@ -247,7 +247,7 @@ Except for Lisp syntax this is the same as `reb-regexp'.") :help "Quit the RE Builder mode")) (define-key menu-map [rt] '(menu-item "Case sensitive" reb-toggle-case - :button (:toggle . case-fold-search) + :button (:toggle . (null case-fold-search)) :help "Toggle case sensitivity of searches for RE Builder target buffer")) (define-key menu-map [rb] '(menu-item "Change target buffer..." reb-change-target-buffer -- 2.39.5