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

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

[nongnu] elpa/swift-mode c4943a8 025/496: Add to auto-mode-alist


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode c4943a8 025/496: Add to auto-mode-alist
Date: Sun, 29 Aug 2021 11:33:01 -0400 (EDT)

branch: elpa/swift-mode
commit c4943a8fda406dd24588c8eafcd502702a91479f
Author: Chris Barrett <chris.d.barrett@me.com>
Commit: Chris Barrett <chris.d.barrett@me.com>

    Add to auto-mode-alist
---
 swift-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/swift-mode.el b/swift-mode.el
index e533974..07feb94 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -177,6 +177,9 @@
   (setq-local comment-start-skip (rx "//" (* "/") (* space)))
   )
 
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.swift$" . swift-mode))
+
 (provide 'swift-mode)
 
 ;;; swift-mode.el ends here



reply via email to

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