From 7723af5e4aa8304e244c285d489ca733b8a6cac3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sat, 24 Dec 2022 17:01:36 +0100 Subject: [PATCH] ; * 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 471d9a3dec0..d3291722331 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)))) -- 2.39.2