From 3987db59c5d01e43342770cadc8521b684aa6bfb Mon Sep 17 00:00:00 2001 From: marciosmiderle Date: Tue, 29 Dec 2020 13:34:07 -0500 Subject: 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 ")")`. --- Auxiliary/cmake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Auxiliary/cmake-mode.el') 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. -- cgit v1.2.1