diff options
author | marciosmiderle <marciodick@yahoo.com> | 2020-12-29 18:34:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-04 16:36:41 (GMT) |
commit | 3987db59c5d01e43342770cadc8521b684aa6bfb (patch) | |
tree | 482e0cfc93380de94929f396cc24eaa77a10c1b9 /Auxiliary/cmake-mode.el | |
parent | c2a8d9b94ed8ac6856f3595e51d78fc716d77e75 (diff) | |
download | CMake-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.el | 2 |
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. |