From: Alan Mackenzie Date: Wed, 30 Apr 2025 18:51:37 +0000 (+0000) Subject: Fix typo in bug#19867 correction (CC Mode indentation bugs) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b4bc435bdf53bfda21424501ce656dcd1209c9d;p=emacs.git Fix typo in bug#19867 correction (CC Mode indentation bugs) * lisp/progmodes/cc-align.el (c-lineup-item-after-paren-at-boi): Replace an erroneous skip-syntax-backward with skip-chars-backward. (cherry picked from commit 766adfa8a731683c221630c3fee5aa5ace22428e) --- diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el index da276f29603..556730fce0b 100644 --- a/lisp/progmodes/cc-align.el +++ b/lisp/progmodes/cc-align.el @@ -348,7 +348,7 @@ Works with: brace-list-intro, enum-intro, constraint-cont." (c-go-up-list-backward nil (c-langelem-pos c-syntactic-element))) (looking-at "\\s(") (save-excursion - (skip-syntax-backward " \t([{" (c-point 'boi)) + (skip-chars-backward " \t([{" (c-point 'boi)) (eq (point) (c-point 'boi))) (progn (forward-char) (c-forward-syntactic-ws (c-point 'eol))