summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorRoy Crihfield <rscrihf@gmail.com>2015-08-13 15:23:34 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-13 19:24:18 (GMT)
commit758664b7ad018aa19072fe5c359a702c472faae2 (patch)
tree046fb67560b91477c3a9254d98ac86f087377536 /Auxiliary
parentfb3035a92c9c7038d0c5fdc3fd8268ac371d673b (diff)
downloadCMake-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')
-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 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)