Commit 647a3247 authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

(c-indent-line): Don't erase ^L when a line containing it is re-indented.

parent 0ac6528f
......@@ -78,8 +78,10 @@ indentation change \(in columns)."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment