From: Yuan Fu Date: Thu, 31 Oct 2024 01:18:50 +0000 (-0700) Subject: Fix undefined variable in previous commit (bug#73900) X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~301 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3101c5031e6eae31ac64392f312091ffa9bbd777;p=emacs.git Fix undefined variable in previous commit (bug#73900) I somehow thought allow-auto-fill is a global variable that's used by cc. But it's not. It's just a function param used by c-indent-new-comment-line. * lisp/progmodes/c-ts-common.el: (c-ts-common-comment-indent-new-line): Remove reference to allow-auto-fill. --- diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el index 6972cfa8904..8630598708d 100644 --- a/lisp/progmodes/c-ts-common.el +++ b/lisp/progmodes/c-ts-common.el @@ -307,7 +307,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).