diff options
-rw-r--r-- | Docs/cmake-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index e758cb5..0cd7b3e 100644 --- a/Docs/cmake-mode.el +++ b/Docs/cmake-mode.el @@ -25,7 +25,7 @@ ;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path)) ;; (require 'cmake-mode) ;; (setq auto-mode-alist -;; (append '(("CMakeLists.txt" . cmake-mode) +;; (append '(("CMakeLists\\.txt" . cmake-mode) ;; ("\\.cmake$" . cmake-mode)) ;; auto-mode-alist)) @@ -156,7 +156,7 @@ ;; Keyword highlighting regex-to-face map. ;; (defconst cmake-font-lock-keywords - (list '("^[ ]*\\(\\w+\\)[ ]*(" 1 font-lock-function-name-face)) + (list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face)) "Highlighting expressions for CMAKE mode." ) |