1
0
Fork 0
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:
Nathan Weizenbaum 2008-11-27 22:57:30 -08:00
parent 2eca01466e
commit fe46a65d4e
2 changed files with 2 additions and 0 deletions

View file

@ -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.

View file

@ -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)