Skip to content
Browse files

Merge branch 'master' of github.com:nex3/haml-mode

  • Loading branch information...
2 parents 215a663 + 9b71c6a commit 60979044997ae87c7b5cb34574b2dd7ea079adc0 @nex3 committed Feb 24, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 haml-mode.el
View
6 haml-mode.el
@@ -4,7 +4,7 @@
;; Author: Nathan Weizenbaum
;; URL: http://github.com/nex3/haml/tree/master
-;; Version: 3.0.14
+;; Version: 3.0.15
;; Created: 2007-03-08
;; By: Nathan Weizenbaum
;; Keywords: markup, language, html
@@ -102,7 +102,7 @@ The line containing RE is matched, as well as all lines indented beneath it."
(haml-highlight-ruby-tag 1 font-lock-preprocessor-face)
(haml-highlight-ruby-script 1 font-lock-preprocessor-face)
("^!!!.*" 0 font-lock-constant-face)
- ("| *$" 0 font-lock-string-face)))
+ ("\\s| *$" 0 font-lock-string-face)))
(defconst haml-filter-re "^[ \t]*:\\w+")
(defconst haml-comment-re "^[ \t]*\\(?:-\\#\\|/\\)")
@@ -398,7 +398,7 @@ With ARG, do it that many times."
(set (make-local-variable 'indent-line-function) 'haml-indent-line)
(set (make-local-variable 'indent-region-function) 'haml-indent-region)
(set (make-local-variable 'parse-sexp-lookup-properties) t)
- (setq comment-start "-#")
+ (set (make-local-variable 'comment-start) "-#")
(setq font-lock-defaults '((haml-font-lock-keywords) t t)))
;; Useful functions

0 comments on commit 6097904

Please sign in to comment.
Something went wrong with that request. Please try again.