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

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

[nongnu] elpa/yaml-mode 52d6d57 019/124: Merge pull request #3 from arth


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 52d6d57 019/124: Merge pull request #3 from arthuraa/master
Date: Sun, 29 Aug 2021 11:36:05 -0400 (EDT)

branch: elpa/yaml-mode
commit 52d6d57c2734197adb3c1acfdacb54a87569433c
Merge: c7624d4 44f73b6
Author: Yoshiki Kurihara <clouder@gmail.com>
Commit: Yoshiki Kurihara <clouder@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



reply via email to

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