Browse Source

add PKGBUILD to auto-mode-alist

pull/1/head
10sr 12 years ago
parent
commit
f954fb702b
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      emacs.el

+ 1
- 2
emacs.el View File

@@ -647,12 +647,11 @@ drill-instructor.el"
(shell-command (buffer-substring-no-properties (point-at-bol) (shell-command (buffer-substring-no-properties (point-at-bol)
(point)))) (point))))


;; (add-to-list 'auto-mode-alist
;; '("\\(xinitrc\\|xprograms\\)\\'" . sh-mode))
(setq auto-mode-alist (setq auto-mode-alist
`(("autostart\\'" . sh-mode) `(("autostart\\'" . sh-mode)
("xinitrc\\'" . sh-mode) ("xinitrc\\'" . sh-mode)
("xprograms\\'" . sh-mode) ("xprograms\\'" . sh-mode)
("PKGBUILD\\'" . sh-mode)
,@auto-mode-alist)) ,@auto-mode-alist))


(setq python-python-command (or (executable-find "python3") (setq python-python-command (or (executable-find "python3")


Loading…
Cancel
Save