]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/progmodes/c-ts-mode.el: quote literal string in regexp
authorMattias Engdegård <mattiase@acm.org>
Sat, 24 Dec 2022 16:01:36 +0000 (17:01 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sat, 24 Dec 2022 16:01:36 +0000 (17:01 +0100)
lisp/progmodes/c-ts-mode.el

index 471d9a3dec0a25e284b8504d1ab93dc121f8e800..d3291722331e7b8be4966595360371d3d48df326 100644 (file)
@@ -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))))