projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
679f7cc
)
; Minor fix in c-ts-common--fill-block-comment
author
Yuan Fu
<casouri@gmail.com>
Wed, 7 Aug 2024 04:58:04 +0000
(21:58 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Wed, 7 Aug 2024 05:00:01 +0000
(22:00 -0700)
* 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.
lisp/progmodes/c-ts-common.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-common.el
b/lisp/progmodes/c-ts-common.el
index 14dd29e07e2c8914631c7ea94837cbfd25d537fc..2ee150748c539b048b750af09e264ec91920ad28 100644
(file)
--- a/
lisp/progmodes/c-ts-common.el
+++ b/
lisp/progmodes/c-ts-common.el
@@
-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)))