diff options
-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) |