aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/cc-cmds.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index 96924899ea3..f8375d7fe36 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -78,8 +78,10 @@ indentation change \(in columns)."
78 (save-excursion 78 (save-excursion
79 (beginning-of-line) 79 (beginning-of-line)
80 (looking-at (if line-cont-backslash 80 (looking-at (if line-cont-backslash
81 "\\(\\s *\\)\\\\$" 81 ;; Don't use "\\s " - ^L doesn't count as WS
82 "\\(\\s *\\)$"))) 82 ;; here
83 "\\([ \t]*\\)\\\\$"
84 "\\([ \t]*\\)$")))
83 (<= (point) (match-end 1))) 85 (<= (point) (match-end 1)))
84 ;; Delete all whitespace after point if there's only whitespace 86 ;; Delete all whitespace after point if there's only whitespace
85 ;; on the line, so that any code that does back-to-indentation 87 ;; on the line, so that any code that does back-to-indentation