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)