diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el index cf55ddea8f7..5c7909ae858 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 1))))) + (newline (if allow-auto-fill nil 1)))))) (cond ;; Line starts with //, or ///, or ////... ;; Or //! (used in rust).