From f954fb702bb2bea7d120ffd32e66ffc1edb0eba2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 16 Jul 2012 22:47:55 +0900 Subject: [PATCH] add PKGBUILD to auto-mode-alist --- emacs.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 4ca5df1..d8b7867 100644 --- a/emacs.el +++ b/emacs.el @@ -647,12 +647,11 @@ drill-instructor.el" (shell-command (buffer-substring-no-properties (point-at-bol) (point)))) -;; (add-to-list 'auto-mode-alist -;; '("\\(xinitrc\\|xprograms\\)\\'" . sh-mode)) (setq auto-mode-alist `(("autostart\\'" . sh-mode) ("xinitrc\\'" . sh-mode) ("xprograms\\'" . sh-mode) + ("PKGBUILD\\'" . sh-mode) ,@auto-mode-alist)) (setq python-python-command (or (executable-find "python3")