projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3886651
)
; * lisp/progmodes/c-ts-mode.el: quote literal string in regexp
author
Mattias Engdegård
<mattiase@acm.org>
Sat, 24 Dec 2022 16:01:36 +0000
(17:01 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Sat, 24 Dec 2022 16:01:36 +0000
(17:01 +0100)
lisp/progmodes/c-ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 471d9a3dec0a25e284b8504d1ab93dc121f8e800..d3291722331e7b8be4966595360371d3d48df326 100644
(file)
--- a/
lisp/progmodes/c-ts-mode.el
+++ b/
lisp/progmodes/c-ts-mode.el
@@
-636,7
+636,7
@@
ARG is passed to `fill-paragraph'."
;; filling region.
(when (not end-marker)
(goto-char end)
- (when (looking-back
"*/"
2)
+ (when (looking-back
(rx "*/")
2)
(backward-char 2)
(skip-syntax-backward "-")
(setq end (point))))