emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112760: Handle "capitalised keywords


From: Alan Mackenzie
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112760: Handle "capitalised keywords" correctly.
Date: Tue, 28 May 2013 15:42:56 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112760
committer: Alan Mackenzie <address@hidden>
branch nick: trunk
timestamp: Tue 2013-05-28 15:42:56 +0000
message:
          Handle "capitalised keywords" correctly.
          * progmodes/cc-mode.el (c-after-change): bind case-fold-search to
          nil.
modified:
  lisp/ChangeLog
  lisp/progmodes/cc-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-05-28 10:22:03 +0000
+++ b/lisp/ChangeLog    2013-05-28 15:42:56 +0000
@@ -1,3 +1,9 @@
+2013-05-28  Alan Mackenzie  <address@hidden>
+
+       Handle "capitalised keywords" correctly.
+       * progmodes/cc-mode.el (c-after-change): bind case-fold-search to
+       nil.
+
 2013-05-28  Aidan Gauland  <address@hidden>
 
        * eshell/em-unix.el: Added -r option to cp

=== modified file 'lisp/progmodes/cc-mode.el'
--- a/lisp/progmodes/cc-mode.el 2013-05-27 13:30:21 +0000
+++ b/lisp/progmodes/cc-mode.el 2013-05-28 15:42:56 +0000
@@ -1059,7 +1059,7 @@
   ;; 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]