瀏覽代碼

add PKGBUILD to auto-mode-alist

pull/1/head
10sr 12 年之前
父節點
當前提交
f954fb702b
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      emacs.el

+ 1
- 2
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")


Loading…
取消
儲存