Follow up on 64222c69c
To fix cases where comment-line-break-function's first argument isn't optional.
This commit is contained in:
parent
7192a686a2
commit
03e9dc1daf
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ more information on modifiers."
|
|||
;; FIXME oh god why
|
||||
(save-excursion
|
||||
(if comment-line-break-function
|
||||
(funcall comment-line-break-function)
|
||||
(funcall comment-line-break-function nil)
|
||||
(comment-indent-new-line))
|
||||
(when (and (derived-mode-p 'c-mode 'c++-mode 'objc-mode 'java-mode 'js2-mode)
|
||||
(eq (char-after) ?/))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue