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
|
||||
(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)
|
||||
|
|
Loading…
Add table
Reference in a new issue