summaryrefslogtreecommitdiff
path: root/Docs
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-04-26 14:22:43 -0400
committerBrad King <brad.king@kitware.com>2006-04-26 14:22:43 -0400
commit0a9d238def392440cb4b96d3e419c9acfb0fb0f8 (patch)
treefcb1e21057e6da2f6e7bb67f31e64e366a7c5cc8 /Docs
parent7b5c4abc7463b494d10d11a207cbaf23f6d9d38a (diff)
downloadcmake-0a9d238def392440cb4b96d3e419c9acfb0fb0f8.tar.gz
BUG: Tabs around a function name are allowed.
Diffstat (limited to 'Docs')
-rw-r--r--Docs/cmake-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el
index e758cb5c6b..0cd7b3e9fc 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."
)