emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el,v


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el,v
Date: Sun, 04 Feb 2007 11:16:55 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Alan Mackenzie <acmacm> 07/02/04 11:16:54

Index: cc-cmds.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-cmds.el,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- cc-cmds.el  21 Jan 2007 19:29:51 -0000      1.52
+++ cc-cmds.el  4 Feb 2007 11:16:54 -0000       1.53
@@ -78,8 +78,10 @@
               (save-excursion
                 (beginning-of-line)
                 (looking-at (if line-cont-backslash
-                                "\\(\\s *\\)\\\\$"
-                              "\\(\\s *\\)$")))
+                                ;; Don't use "\\s " - ^L doesn't count as WS
+                                ;; here
+                                "\\([ \t]*\\)\\\\$"
+                              "\\([ \t]*\\)$")))
               (<= (point) (match-end 1)))
       ;; Delete all whitespace after point if there's only whitespace
       ;; on the line, so that any code that does back-to-indentation




reply via email to

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