Fix #1679: newline-and-indent advice not deleting trailing whitespace

This commit is contained in:
Henrik Lissner 2019-08-21 00:28:23 -04:00
parent 879f3a660a
commit f4a11fd437
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)))