From b0a6eb533b9fb482101c41705a51ae3c1ade896b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 Nov 2019 23:19:49 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20enabling=20=E2=80=98sh-mode=E2=80=99=20fo?= =?UTF-8?q?r=20=E2=80=98PKGBUILD=E2=80=99=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-sh.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oni-sh.el b/oni-sh.el index 2a45411..a5ef1c5 100644 --- a/oni-sh.el +++ b/oni-sh.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.1119.220233 +;; Version: 2019.1125.232102 ;; Package-Requires: (reformatter oni-flycheck oni-fci) ;; This program is free software; you can redistribute it and/or modify @@ -49,6 +49,7 @@ (add-hook 'sh-mode-hook 'flycheck-mode) (add-hook 'sh-mode-hook 'shfmt-on-save-mode) +;;;###autoload (add-to-list 'auto-mode-alist '("PKGBUILD\\'" . sh-mode)) ;;;###autoload(with-eval-after-load 'sh-script (require 'oni-sh))