emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/yaml-mode 44f73b6 017/124: Add autoload comments.


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 44f73b6 017/124: Add autoload comments.
Date: Sun, 29 Aug 2021 11:36:04 -0400 (EDT)

branch: elpa/yaml-mode
commit 44f73b6c4dd4a354483b08cf2ecedf361f2d5576
Author: Arthur Azevedo de Amorim <arthur.aa@gmail.com>
Commit: Arthur Azevedo de Amorim <arthur.aa@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

[Prev in Thread] Current Thread [Next in Thread]