From 98293de9eead498a9145fb2d9ae50e7696af601d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 4 Jul 2014 01:35:27 -0400 Subject: Change end-of-line maker for auto-mode patterns Should use "\\'" instead of "$". http://www.emacswiki.org/emacs/AutoModeAlist --- lisp/init-shell.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/init-shell.el') diff --git a/lisp/init-shell.el b/lisp/init-shell.el index 6f7e26c..a353526 100644 --- a/lisp/init-shell.el +++ b/lisp/init-shell.el @@ -2,7 +2,7 @@ (require-package 'pkgbuild-mode) -(add-to-list 'auto-mode-alist '("\\.zsh$" . shell-script-mode)) -(add-to-list 'auto-mode-alist '("\\.*rc$" . conf-unix-mode)) +(add-to-list 'auto-mode-alist '("\\.zsh\\'" . shell-script-mode)) +(add-to-list 'auto-mode-alist '("\\.*rc\\'" . conf-unix-mode)) (provide 'init-shell) -- cgit v1.2.3