Commit d6476407 authored by Keitaro Miyazaki's avatar Keitaro Miyazaki Committed by Chong Yidong
Browse files

Fix toggling of case-fold-search from re-builder menu (Bug#7650).

* emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
the correct buffer.
parent 28a88153
2011-01-22 Keitaro Miyazaki <keitaro.miyazaki@gmail.com>
* emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
the correct buffer (Bug#7650).
2011-01-22 Glenn Morris <rgm@gnu.org>
* button.el (make-text-button): Doc fix. (See bug#7881)
......
......@@ -247,7 +247,9 @@ 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 . (null case-fold-search))
:button (:toggle . (with-current-buffer
reb-target-buffer
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment