diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-07-04 01:35:27 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-07-04 01:35:27 -0400 |
commit | 98293de9eead498a9145fb2d9ae50e7696af601d (patch) | |
tree | 66efbc836199d904f1d5044f7fb0de4a3c0c23d1 /lisp | |
parent | 55b4bba4b4a1847db3ea2b0cce5de98f3bd8e479 (diff) | |
download | emacs.d-98293de9eead498a9145fb2d9ae50e7696af601d.tar.gz |
Change end-of-line maker for auto-mode patterns
Should use "\\'" instead of "$".
http://www.emacswiki.org/emacs/AutoModeAlist
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-org.el | 2 | ||||
-rw-r--r-- | lisp/init-shell.el | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el index f6ca596..276d6e1 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -98,7 +98,7 @@ "nointegrals") (add-to-list 'org-latex-packages-alist '("" "amsmath" t))) -(add-to-list 'auto-mode-alist '("\\.org.txt$" . org-mode)) +(add-to-list 'auto-mode-alist '("\\.org.txt\\'" . org-mode)) (add-to-list 'safe-local-variable-values '(org-goto-max-level . 2)) 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) |