Permalink
Browse files

Merge pull request #3 from arthuraa/master

Autoload comments
  • Loading branch information...
2 parents c7624d4 + 44f73b6 commit 52d6d57c2734197adb3c1acfdacb54a87569433c @yoshiki yoshiki committed Feb 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 yaml-mode.el
View
@@ -214,6 +214,7 @@ that key is pressed to begin a block literal."
(modify-syntax-entry ?\[ "(]" yaml-mode-syntax-table)
(modify-syntax-entry ?\] ")[" yaml-mode-syntax-table))
+;;;###autoload
(define-derived-mode yaml-mode fundamental-mode "YAML"
"Simple mode to edit YAML.
@@ -404,6 +405,9 @@ margin."
(message "yaml-mode %s" yaml-mode-version)
yaml-mode-version)
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
+
(provide 'yaml-mode)
;;; yaml-mode.el ends here

0 comments on commit 52d6d57

Please sign in to comment.