Fix wrong-number-of-arguments on newline-and-indent

And ensure all custom comment-line-break-function functions its
argument requirements.
This commit is contained in:
Henrik Lissner 2019-11-11 23:47:27 -05:00
parent 82c0fb6fc7
commit 64222c69c8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 4 additions and 4 deletions

View file

@ -120,7 +120,7 @@ languages)."
(interactive)
(if (and (sp-point-in-comment)
comment-line-break-function)
(funcall comment-line-break-function)
(funcall comment-line-break-function nil)
(delete-horizontal-space t)
(newline nil t)
(indent-according-to-mode)))