diff options
author | Gastón Ramos <ramos.gaston@gmail.com> | 2014-07-07 05:30:54 -0700 |
---|---|---|
committer | Gastón Ramos <ramos.gaston@gmail.com> | 2014-07-07 05:30:54 -0700 |
commit | 6d328ff267466281c7beb6c8983d0d80e45901f2 (patch) | |
tree | 444521ede94336f54450287429f025575ec57903 | |
parent | c54a6fd0a773146c80431f8ea87d2d9179a33a9b (diff) |
fix-references-to-free-variables
Gbp-Pq: Name fix-references-to-free-variables
-rw-r--r-- | haml-mode.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/haml-mode.el b/haml-mode.el index 19643e6..f593cce 100644 --- a/haml-mode.el +++ b/haml-mode.el @@ -159,6 +159,7 @@ respectively." This requires that `css-mode' is available. `css-mode' is included with Emacs 23." + (defvar css-mode-syntax-table) (when (boundp 'css-font-lock-keywords) (haml-fontify-region beg end css-font-lock-keywords @@ -172,6 +173,11 @@ This requires that `css-mode' is available. This requires that Karl Landström's javascript mode be available, either as the \"js.el\" bundled with Emacs >= 23, or as \"javascript.el\" found in ELPA and elsewhere." + (defvar js--font-lock-keywords-3) + (defvar js-font-lock-keywords-3) + (defvar js-mode-syntax-table) + (defvar javascript-mode-syntax-table) + (defvar js--quick-match-re-func) (let ((keywords (or (and (featurep 'js) js--font-lock-keywords-3) (and (featurep 'javascript-mode) js-font-lock-keywords-3))) (syntax-table (or (and (featurep 'js) js-mode-syntax-table) @@ -381,6 +387,8 @@ With ARG, do it that many times." With point at the beginning of the font lock region, EXTENDER is called. If it returns a (START . END) pair, those positions are used to possibly extend the font lock region." + (defvar font-lock-beg) + (defvar font-lock-end) (let ((old-beg font-lock-beg) (old-end font-lock-end)) (save-excursion |