[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 7723af5e4a: ; * lisp/progmodes/c-ts-mode.el: quote literal stri
From: |
Mattias Engdegård |
Subject: |
emacs-29 7723af5e4a: ; * lisp/progmodes/c-ts-mode.el: quote literal string in regexp |
Date: |
Sat, 24 Dec 2022 11:10:44 -0500 (EST) |
branch: emacs-29
commit 7723af5e4aa8304e244c285d489ca733b8a6cac3
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * lisp/progmodes/c-ts-mode.el: quote literal string in regexp
---
lisp/progmodes/c-ts-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 471d9a3dec..d329172233 100644
--- 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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 7723af5e4a: ; * lisp/progmodes/c-ts-mode.el: quote literal string in regexp,
Mattias Engdegård <=