summaryrefslogtreecommitdiffstats
path: root/Docs/cmake-mode.el
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-04-26 18:22:43 (GMT)
committerBrad King <brad.king@kitware.com>2006-04-26 18:22:43 (GMT)
commit0a9d238def392440cb4b96d3e419c9acfb0fb0f8 (patch)
treefcb1e21057e6da2f6e7bb67f31e64e366a7c5cc8 /Docs/cmake-mode.el
parent7b5c4abc7463b494d10d11a207cbaf23f6d9d38a (diff)
downloadCMake-0a9d238def392440cb4b96d3e419c9acfb0fb0f8.zip
CMake-0a9d238def392440cb4b96d3e419c9acfb0fb0f8.tar.gz
CMake-0a9d238def392440cb4b96d3e419c9acfb0fb0f8.tar.bz2
BUG: Tabs around a function name are allowed.
Diffstat (limited to 'Docs/cmake-mode.el')
-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 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."
)