diff options
author | Roy Crihfield <rscrihf@gmail.com> | 2015-08-13 15:23:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-08-13 19:24:18 (GMT) |
commit | 758664b7ad018aa19072fe5c359a702c472faae2 (patch) | |
tree | 046fb67560b91477c3a9254d98ac86f087377536 /Auxiliary/cmake-mode.el | |
parent | fb3035a92c9c7038d0c5fdc3fd8268ac371d673b (diff) | |
download | CMake-758664b7ad018aa19072fe5c359a702c472faae2.zip CMake-758664b7ad018aa19072fe5c359a702c472faae2.tar.gz CMake-758664b7ad018aa19072fe5c359a702c472faae2.tar.bz2 |
cmake-mode.el: Fix function name font-lock
Allow space separating name and opening parenthesis.
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 02f0385..cf82d09 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -198,7 +198,7 @@ the indentation. Otherwise it retains the same position on the line" ,@(mapcar #'downcase cmake-keywords)) symbol-end)) . font-lock-keyword-face) - (,(rx symbol-start (group (+ (or word (syntax symbol)))) ?\() + (,(rx symbol-start (group (+ (or word (syntax symbol)))) (* blank) ?\() 1 font-lock-function-name-face) ("\\${?\\([[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\|[$*_]\\)" 1 font-lock-variable-name-face t) |