From: Eli Zaretskii Date: Wed, 29 Mar 2023 11:56:20 +0000 (+0300) Subject: Fix indentation regression in 'C-h l' X-Git-Tag: emacs-29.0.90~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e45bd10a3d9cc4be676e43714ea6fb2068b8e614;p=emacs.git Fix indentation regression in 'C-h l' * lisp/help.el (view-lossage): Fix indentation of commands when the key sequence includes a semicolon. (Bug#62453) --- diff --git a/lisp/help.el b/lisp/help.el index 3e94b5046e5..6eac037df2c 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -689,6 +689,10 @@ To record all your input, use `open-dribble-file'." (with-current-buffer standard-output (goto-char (point-min)) (let ((comment-start ";; ") + ;; Prevent 'comment-indent' from handling a single + ;; semicolon as the beginning of a comment. + (comment-start-skip ";; ") + (comment-use-syntax nil) (comment-column 24)) (while (not (eobp)) (comment-indent)