[Emacs] Fix a silly error.

This commit is contained in:
Nathan Weizenbaum 2009-05-24 14:33:03 -07:00
parent 82e1bebea2
commit dde54ed935
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ For example, this will highlight all of the following:
;; Highlight attr hashes
(when (eq (char-after) ?\{)
(let ((beg (+ 1 (point))))
(let ((beg (point)))
(haml-limited-forward-sexp eol)
;; Check for multiline
@ -158,7 +158,7 @@ For example, this will highlight all of the following:
(goto-char beg)
(haml-limited-forward-sexp eol))))
(haml-fontify-region-as-ruby beg (point))))
(haml-fontify-region-as-ruby (+ 1 beg) (point))))
;; Move past end chars
(when (looking-at "[<>&!]+") (goto-char (match-end 0)))