From 67ae6da331d4c7fbcb8109820779200002bae54a Mon Sep 17 00:00:00 2001 From: Jeff Kowalski Date: Fri, 6 Jul 2018 16:56:32 -0700 Subject: cmake-mode.el: Fix "unescaped character literals" warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emacs 27.0 warns Loading ‘cmake-mode’: unescaped character literals `?(', `?)' detected! during byte-compilation of cmake-mode.el The new warning was added in emacs commit c2bbdc3316 (Warn about missing backslashes during load). Add backslashes to escape the literals. --- Auxiliary/cmake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Auxiliary') diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index 8ae57d44d1..e4fa6c1758 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -55,7 +55,7 @@ set the path with these commands: (* (or (not (any space "()#\\\n")) (and ?\\ nonl))))) (defconst cmake-regex-token (rx-to-string `(group (or (regexp ,cmake-regex-comment) - ?( ?) + ?\( ?\) (regexp ,cmake-regex-argument-unquoted) (regexp ,cmake-regex-argument-quoted))))) (defconst cmake-regex-indented -- cgit v1.2.1