[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9ff155183ca: Remove undefined variable from c-ts-common.el
From: |
Stefan Kangas |
Subject: |
master 9ff155183ca: Remove undefined variable from c-ts-common.el |
Date: |
Thu, 31 Oct 2024 21:19:36 -0400 (EDT) |
branch: master
commit 9ff155183ca560fc9005027a65c53544afb772a1
Author: Steven Allen <steven@stebalien.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Remove undefined variable from c-ts-common.el
This variable came from code copied from c-indent-new-comment-line.
It's a parameter meant to be used by c-context-line-break, not a
global variable.
* lisp/progmodes/c-ts-common.el (c-ts-common-comment-indent-new-line):
Remove reference to undefined variable. (Bug#74149)
---
lisp/progmodes/c-ts-common.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el
index 5c7909ae858..cf55ddea8f7 100644
--- a/lisp/progmodes/c-ts-common.el
+++ b/lisp/progmodes/c-ts-common.el
@@ -336,7 +336,7 @@ and /* */ comments. SOFT works the same as in
(delete-horizontal-space)
(if soft
(insert-and-inherit ?\n)
- (newline (if allow-auto-fill nil 1))))))
+ (newline 1)))))
(cond
;; Line starts with //, or ///, or ////...
;; Or //! (used in rust).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9ff155183ca: Remove undefined variable from c-ts-common.el,
Stefan Kangas <=