浏览代码

add to auto-mode-alist

pull/1/head
10sr 12 年前
父节点
当前提交
c28f311d43
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. +7
    -2
      emacs.el

+ 7
- 2
emacs.el 查看文件

@@ -585,8 +585,13 @@ Return nil if library unfound and failed to download, otherwise the path where t
(shell-command (buffer-substring-no-properties (point-at-bol)
(point))))

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

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


正在加载...
取消
保存