Fix #1679: newline-and-indent advice not deleting trailing whitespace
This commit is contained in:
parent
879f3a660a
commit
f4a11fd437
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ languages)."
|
|||
(if (and (sp-point-in-comment)
|
||||
comment-line-break-function)
|
||||
(funcall comment-line-break-function)
|
||||
(delete-horizontal-space t)
|
||||
(newline nil t)
|
||||
(indent-according-to-mode)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue