From 03e9dc1daff2e307640347a12147b814f6a18e34 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 15 Nov 2019 19:15:23 -0500 Subject: [PATCH] Follow up on 64222c69c To fix cases where comment-line-break-function's first argument isn't optional. --- modules/editor/evil/autoload/advice.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/evil/autoload/advice.el b/modules/editor/evil/autoload/advice.el index 2a86105b9..4e02b9adf 100644 --- a/modules/editor/evil/autoload/advice.el +++ b/modules/editor/evil/autoload/advice.el @@ -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) ?/))