mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #1679: newline-and-indent advice not deleting trailing whitespace
This commit is contained in:
@ -119,6 +119,7 @@ languages)."
|
|||||||
(if (and (sp-point-in-comment)
|
(if (and (sp-point-in-comment)
|
||||||
comment-line-break-function)
|
comment-line-break-function)
|
||||||
(funcall comment-line-break-function)
|
(funcall comment-line-break-function)
|
||||||
|
(delete-horizontal-space t)
|
||||||
(newline nil t)
|
(newline nil t)
|
||||||
(indent-according-to-mode)))
|
(indent-according-to-mode)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user