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

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

[nongnu] elpa/swift-mode 6546ad5 040/496: Fix auto-mode-alist regex


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 6546ad5 040/496: Fix auto-mode-alist regex
Date: Sun, 29 Aug 2021 11:33:03 -0400 (EDT)

branch: elpa/swift-mode
commit 6546ad5d71214466d6194793ce006a630537f773
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>

    Fix auto-mode-alist regex
    
    $ matches end of line, not end of string.
---
 swift-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode.el b/swift-mode.el
index d71c9fc..e945e47 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -189,7 +189,7 @@
   (setq-local paragraph-separate paragraph-start))
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.swift$" . swift-mode))
+(add-to-list 'auto-mode-alist '("\\.swift\\'" . swift-mode))
 
 (provide 'swift-mode)
 



reply via email to

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