]> git.eshelyaron.com Git - emacs.git/commitdiff
Handle "capitalised keywords" correctly.
authorAlan Mackenzie <acm@muc.de>
Tue, 28 May 2013 15:42:56 +0000 (15:42 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 28 May 2013 15:42:56 +0000 (15:42 +0000)
        * progmodes/cc-mode.el (c-after-change): bind case-fold-search to
        nil.

lisp/ChangeLog
lisp/progmodes/cc-mode.el

index c17ea64a8604bb17148b2c775ecaa3a60202c0b8..9f9302680be6c02683fc85ef56e604af4a5fe4e1 100644 (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
index 345bbb7745cbb8d7a91ec2bd97b50fd01d28f08d..064f62fc746545b3e3361b3135ffb04d79b0b3f8 100644 (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.