浏览代码

etangle: check for file readability

So now ignore if there are missing/unreable files in USEROPTS.
master
Mitch Tishmack 8 年前
父节点
当前提交
7bcf1bf5d2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      etangle

+ 2
- 1
etangle 查看文件

@@ -10,7 +10,8 @@
(if (getenv "USEROPTS")
(dolist (fnam (split-string (getenv "USEROPTS") ":"))
(if (not (member fnam '("" nil)))
(load-file (concat "./options/" fnam ".el"))
(if (file-readable-p (concat "./options/" fnam ".el"))
(load-file (concat "./options/" fnam ".el")))
))
)



正在加载...
取消
保存