[Emacs] Don't highlight == as script.

This commit is contained in:
Nathan Weizenbaum 2009-03-06 09:29:17 -08:00
parent 28d624ff03
commit 61e16a0bf7
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ For example, this will highlight all of the following:
;; Move past end chars
(when (looking-at "[<>&!]+") (goto-char (match-end 0)))
;; Highlight script
(if (looking-at "\\([=~]\\)\\(.*\\)$")
(if (looking-at "\\([=~]\\) \\(.*\\)$")
(haml-fontify-region-as-ruby (match-beginning 2) (match-end 2))
;; Give font-lock something to highlight
(looking-at "\\(\\)"))