浏览代码

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")


正在加载...
取消
保存