From ceb46f13969f272461e8790e6506ca071568ca70 Mon Sep 17 00:00:00 2001 From: nex3 Date: Sat, 17 Mar 2007 09:53:46 +0000 Subject: [PATCH] Neither haml- nor sass-mode should have any font-lock stuff. Also sass was crashing. git-svn-id: svn://hamptoncatlin.com/haml/trunk@423 7063305b-7217-0410-af8c-cdc13e5119b9 --- extra/haml-mode.el | 9 --------- extra/sass-mode.el | 9 --------- 2 files changed, 18 deletions(-) diff --git a/extra/haml-mode.el b/extra/haml-mode.el index 3c8a0316..5e150270 100644 --- a/extra/haml-mode.el +++ b/extra/haml-mode.el @@ -110,15 +110,6 @@ (set (make-local-variable 'indent-line-function) 'haml-indent-line) (set (make-local-variable 'font-lock-defaults) '(sample-font-lock-keywords))) -;; Font-lock support - -(defvar haml-font-lock-keywords - (list - (cons haml-tag-re '(1 font-lock-function-name-face)) - '("function \\(\\sw+\\)" (1 font-lock-function-name-face)) - '("^[\t]+" 0 'haml-tab-face t)) - "Expressions to highlight in Haml mode.") - ;; Indentation and electric keys (defun haml-compute-indentation () diff --git a/extra/sass-mode.el b/extra/sass-mode.el index 4d28dd23..25dd53e4 100644 --- a/extra/sass-mode.el +++ b/extra/sass-mode.el @@ -86,15 +86,6 @@ (set (make-local-variable 'indent-line-function) 'sass-indent-line) (set (make-local-variable 'font-lock-defaults) '(sample-font-lock-keywords))) -;; Font-lock support - -(defvar sass-font-lock-keywords - (list - (cons sass-tag-re '(1 font-lock-function-name-face)) - '("function \\(\\sw+\\)" (1 font-lock-function-name-face)) - '("^[\t]+" 0 'sass-tab-face t)) - "Expressions to highlight in Sass mode.") - ;; Indentation and electric keys (defun sass-compute-indentation ()