Merge topic 'emacs-mode-font-lock'

64e6bc5c cmake-mode.el: Refine variable font-lock
758664b7 cmake-mode.el: Fix function name font-lock
This commit is contained in:
Brad King 2015-08-17 10:25:00 -04:00 committed by CMake Topic Stage
commit 581379cadf
1 changed files with 2 additions and 2 deletions

View File

@ -198,9 +198,9 @@ 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]+\\|[$*_]\\)"
(,(rx "${" (group (+(any alnum "-_+/."))) "}")
1 font-lock-variable-name-face t)
)
"Highlighting expressions for CMake mode.")