branch: elpa/jade-mode
commit 2c830e70e0b38556401689b3c323ed62dab3e080
Author: USAMI Kenta <[email protected]>
Commit: USAMI Kenta <[email protected]>
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