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

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

[nongnu] elpa/jade-mode 2c830e70e0 075/128: Use \\' instead of $


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode 2c830e70e0 075/128: Use \\' instead of $
Date: Sat, 29 Jan 2022 08:24:48 -0500 (EST)

branch: elpa/jade-mode
commit 2c830e70e0b38556401689b3c323ed62dab3e080
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>

    Use \\' instead of $
    
    see http://www.emacswiki.org/emacs/AutoModeAlist
---
 jade-mode.el   | 3 +--
 stylus-mode.el | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/jade-mode.el b/jade-mode.el
index da0d3c193d..d1ab4ea46d 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -255,8 +255,7 @@ Follows indentation behavior of `indent-rigidly'."
 
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.jade$" . jade-mode))
+(add-to-list 'auto-mode-alist '("\\.jade\\'" . jade-mode))
 
 (provide 'jade-mode)
 ;;; jade-mode.el ends here
-
diff --git a/stylus-mode.el b/stylus-mode.el
index 9849697ea2..b3b581c6d9 100644
--- a/stylus-mode.el
+++ b/stylus-mode.el
@@ -110,7 +110,7 @@
   (use-local-map stylus-mode-map))
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.styl$" . stylus-mode))
+(add-to-list 'auto-mode-alist '("\\.styl\\'" . stylus-mode))
 
 (provide 'stylus-mode)
 ;;; stylus-mode.el ends here



reply via email to

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