branch: elpa/yaml-mode
commit 44f73b6c4dd4a354483b08cf2ecedf361f2d5576
Author: Arthur Azevedo de Amorim <arthur...@gmail.com>
Commit: Arthur Azevedo de Amorim <arthur...@gmail.com>

    Add autoload comments.
---
 yaml-mode.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/yaml-mode.el b/yaml-mode.el
index af63712..2310221 100644
--- a/yaml-mode.el
+++ b/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

Reply via email to