[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 cd9a215ef07: ; Minor fix in c-ts-common--fill-block-comment
From: |
Yuan Fu |
Subject: |
emacs-30 cd9a215ef07: ; Minor fix in c-ts-common--fill-block-comment |
Date: |
Wed, 7 Aug 2024 01:00:12 -0400 (EDT) |
branch: emacs-30
commit cd9a215ef0768534881b775f66a9a3fa9ffceb44
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; 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.
---
lisp/progmodes/c-ts-common.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el
index 14dd29e07e2..2ee150748c5 100644
--- 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 cd9a215ef07: ; Minor fix in c-ts-common--fill-block-comment,
Yuan Fu <=