1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

; Minor fix in c-ts-common--fill-block-comment

* lisp/progmodes/c-ts-common.el:
(c-ts-common--fill-block-comment): Checking for end-mask done is
equivalent to checking end-marker, so the original code doesn't have a
bug.
This commit is contained in:
Yuan Fu 2024-08-06 21:58:04 -07:00
parent 679f7ccc49
commit cd9a215ef0
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -214,7 +214,7 @@ comment."
(goto-char start-marker)
(delete-char 1)
(insert "/"))
(when (and end-mask-done start-marker)
(when (and end-mask-done end-marker)
(goto-char end-marker)
(delete-region (point) (+ end-len (point)))
(insert (make-string end-len ?\s)))