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)
This commit is contained in:
parent
46fd10a760
commit
e45bd10a3d
1 changed files with 4 additions and 0 deletions
|
@ -689,6 +689,10 @@ To record all your input, use `open-dribble-file'."
|
||||||
(with-current-buffer standard-output
|
(with-current-buffer standard-output
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(let ((comment-start ";; ")
|
(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))
|
(comment-column 24))
|
||||||
(while (not (eobp))
|
(while (not (eobp))
|
||||||
(comment-indent)
|
(comment-indent)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue