From 4d23e9742c8b845bc59b9daf5615b9dcb3e59d04 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 18 May 2016 22:32:04 -0400 Subject: [PATCH] Fix sh-mode autoload --- modules/module-sh.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/module-sh.el b/modules/module-sh.el index ec283417e..e0991b226 100644 --- a/modules/module-sh.el +++ b/modules/module-sh.el @@ -1,9 +1,9 @@ ;;; module-sh.el (use-package sh-script - :mode ("\\.\\(ba\\|z\\)sh$" - "/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" - "/\\.?bash\\(/.*\\|rc\\|_profile\\)$") + :mode (("\\.\\(ba\\|z\\)sh$" . sh-mode) + ("/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" . sh-mode) + ("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode)) :init (add-hook! sh-mode '(flycheck-mode narf|sh-extra-font-lock-activate))