瀏覽代碼

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



Loading…
取消
儲存