summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-01-21 22:03:49 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-01-21 22:03:49 -0500
commit25696ccaa7dfc57c5e8e47f138ee507e4dd5f222 (patch)
treecd999a6ca77653c2cba5be88c8a617e8b58d980d
parent7425b5400b4b015da7d41dec489f536ced35144c (diff)
downloademacs-25696ccaa7dfc57c5e8e47f138ee507e4dd5f222.tar.gz
* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/re-builder.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b57089d8eb..247e845394f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-22 Chong Yidong <cyd@stupidchicken.com>
+
+ * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
+ "Case sensitive" menu item.
+
2011-01-21 Roland McGrath <roland@frob.com>
* 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