summaryrefslogtreecommitdiff
path: root/Auxiliary
diff options
context:
space:
mode:
authormarciosmiderle <marciodick@yahoo.com>2020-12-29 13:34:07 -0500
committerBrad King <brad.king@kitware.com>2021-01-04 11:36:41 -0500
commit3987db59c5d01e43342770cadc8521b684aa6bfb (patch)
tree482e0cfc93380de94929f396cc24eaa77a10c1b9 /Auxiliary
parentc2a8d9b94ed8ac6856f3595e51d78fc716d77e75 (diff)
downloadcmake-3987db59c5d01e43342770cadc8521b684aa6bfb.tar.gz
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')
-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 52f2d417cc..ddc7b409bf 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.