Correct the placement of c-cpp-delimiters when there're #s not at col 0.
[bpt/emacs.git] / lisp / ChangeLog
index 2966af7..f366c19 100644 (file)
@@ -1,3 +1,14 @@
+2013-04-15  Alan Mackenzie  <acm@muc.de>
+
+       Correct the placement of c-cpp-delimiters when there're #s not at
+       col 0.
+
+       * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
+       place a submatch around the #.
+       * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): Start
+       a search at BOL.  Put the c-cpp-delimiter category text propertiy
+       on the #, not BOL.
+
 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/nadvice.el: Properly test names when adding advice.