Browse Source

etangle: check for file readability

So now ignore if there are missing/unreable files in USEROPTS.
master
Mitch Tishmack 8 years ago
parent
commit
7bcf1bf5d2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      etangle

+ 2
- 1
etangle View File

@@ -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…
Cancel
Save