Handle "capitalised keywords" correctly.

* progmodes/cc-mode.el (c-after-change): bind case-fold-search to
        nil.
This commit is contained in:
Alan Mackenzie 2013-05-28 15:42:56 +00:00
parent cb29c582d7
commit 336d728464
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2013-05-28 Alan Mackenzie <acm@muc.de>
Handle "capitalised keywords" correctly.
* progmodes/cc-mode.el (c-after-change): bind case-fold-search to
nil.
2013-05-28 Aidan Gauland <aidalgol@amuri.net>
* eshell/em-unix.el: Added -r option to cp

View file

@ -1059,7 +1059,7 @@ Note that the style variables are always made local to the buffer."
;; This calls the language variable c-before-font-lock-functions, if non nil.
;; This typically sets `syntax-table' properties.
(c-save-buffer-state ()
(c-save-buffer-state (case-fold-search)
;; When `combine-after-change-calls' is used we might get calls
;; with regions outside the current narrowing. This has been
;; observed in Emacs 20.7.