Permalink
Browse files

magic autoload comments

  • Loading branch information...
1 parent c6562af commit af021a5f0a3d0913eab56d593b14abdc267810f5 @josh josh committed with Mar 7, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 coffee-mode.el
View
@@ -477,6 +477,7 @@ line? Returns `t' or `nil'. See the README for more details."
;; Define Major Mode
;;
+;;;###autoload
(define-derived-mode coffee-mode fundamental-mode
"coffee-mode"
"Major mode for editing CoffeeScript..."
@@ -525,5 +526,7 @@ line? Returns `t' or `nil'. See the README for more details."
;;
;; Run coffee-mode for files ending in .coffee.
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
+;;;###autoload
(add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))

0 comments on commit af021a5

Please sign in to comment.