From c8e355b6a17388b84d4b6b15ce17f94f6ce9ba46 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Apr 2006 14:28:56 -0400 Subject: BUG: Mode should only be used if CMakeLists.txt is at the end of the buffer name. --- Docs/cmake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index 0cd7b3e..1ea8e58 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)) -- cgit v0.12