branch: elpa/yaml-mode commit 52d6d57c2734197adb3c1acfdacb54a87569433c Merge: c7624d4 44f73b6 Author: Yoshiki Kurihara <clou...@gmail.com> Commit: Yoshiki Kurihara <clou...@gmail.com>
Merge pull request #3 from arthuraa/master 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