changeset 112423:c49e3a39059d

* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 21 Jan 2011 22:03:49 -0500
parents e99b4c7a3af4
children 550574f08669
files lisp/ChangeLog lisp/emacs-lisp/re-builder.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 21 21:44:53 2011 -0500
+++ b/lisp/ChangeLog	Fri Jan 21 22:03:49 2011 -0500
@@ -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
--- a/lisp/emacs-lisp/re-builder.el	Fri Jan 21 21:44:53 2011 -0500
+++ b/lisp/emacs-lisp/re-builder.el	Fri Jan 21 22:03:49 2011 -0500
@@ -247,7 +247,7 @@
 		  :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