mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Autoload emacs modes.
This commit is contained in:
parent
2eca01466e
commit
fe46a65d4e
2 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,7 @@ text nested beneath them.")
|
|||
(define-key map "\C-C\C-k" 'haml-kill-line-and-indent)
|
||||
map))
|
||||
|
||||
;;;###autoload
|
||||
(define-derived-mode haml-mode fundamental-mode "Haml"
|
||||
"Major mode for editing Haml files.
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@ text nested beneath them.")
|
|||
|
||||
;; Mode setup
|
||||
|
||||
;;;###autoload
|
||||
(define-derived-mode sass-mode haml-mode "Sass"
|
||||
"Major mode for editing Sass files."
|
||||
(set (make-local-variable 'haml-indent-function) 'sass-indent-p)
|
||||
|
|
Loading…
Reference in a new issue