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)
This commit is contained in:
Steven Allen 2024-10-31 16:19:37 -07:00 committed by Stefan Kangas
parent 94a9e40e82
commit 9ff155183c

View file

@ -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).