Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add autoload comments.

  • Loading branch information...
commit 44f73b6c4dd4a354483b08cf2ecedf361f2d5576 1 parent 1fa61ec
@arthuraa arthuraa authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 yaml-mode.el
View
4 yaml-mode.el
@@ -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 44f73b6

Please sign in to comment.
Something went wrong with that request. Please try again.