mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
(c-indent-line): Don't erase ^L when a line containing it is re-indented.
This commit is contained in:
parent
0ac6528f44
commit
647a3247fc
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue