; * lisp/progmodes/c-ts-mode.el: quote literal string in regexp

This commit is contained in:
Mattias Engdegård 2022-12-24 17:01:36 +01:00
parent 38866510c7
commit 7723af5e4a

View 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))))