From 0a9d238def392440cb4b96d3e419c9acfb0fb0f8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Apr 2006 14:22:43 -0400 Subject: [PATCH] BUG: Tabs around a function name are allowed. --- Docs/cmake-mode.el | 4 ++-- 1 file 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." )