summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorJeff Kowalski <jeff.kowalski@gmail.com>2018-07-06 23:56:32 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-09 14:06:33 (GMT)
commit67ae6da331d4c7fbcb8109820779200002bae54a (patch)
tree3a945bd0c7c079a6d6acd57ecb0dc88cac01f0c1 /Auxiliary
parentb74962d8989428c3f94b602662f9dcdd1f4e5cfd (diff)
downloadCMake-67ae6da331d4c7fbcb8109820779200002bae54a.zip
CMake-67ae6da331d4c7fbcb8109820779200002bae54a.tar.gz
CMake-67ae6da331d4c7fbcb8109820779200002bae54a.tar.bz2
cmake-mode.el: Fix "unescaped character literals" warning
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.
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/cmake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index 8ae57d4..e4fa6c1 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