summaryrefslogtreecommitdiffstats
path: root/Auxiliary/cmake-mode.el
diff options
context:
space:
mode:
authormarciosmiderle <marciodick@yahoo.com>2020-12-29 18:34:07 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-04 16:36:41 (GMT)
commit3987db59c5d01e43342770cadc8521b684aa6bfb (patch)
tree482e0cfc93380de94929f396cc24eaa77a10c1b9 /Auxiliary/cmake-mode.el
parentc2a8d9b94ed8ac6856f3595e51d78fc716d77e75 (diff)
downloadCMake-3987db59c5d01e43342770cadc8521b684aa6bfb.zip
CMake-3987db59c5d01e43342770cadc8521b684aa6bfb.tar.gz
CMake-3987db59c5d01e43342770cadc8521b684aa6bfb.tar.bz2
cmake-mode.el: Fix rx usage for Emacs 26
The change in commit 901386f646 (cmake-mode.el: Add navigation by function and macro, 2020-12-11) introduced a regression. Emacs 26 could not load cmake-mode.el anymore. Use `(not-char ")")`, not `(not ")")`.
Diffstat (limited to 'Auxiliary/cmake-mode.el')
-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 52f2d41..ddc7b40 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -211,7 +211,7 @@ the indentation. Otherwise it retains the same position on the line"
"end"
(or "function" "macro")
(zero-or-more space)
- "(" (zero-or-more (not ")")) ")"))
+ "(" (zero-or-more (not-char ")")) ")"))
(defun cmake-beginning-of-defun ()
"Move backward to the beginning of a CMake function or macro.