Explorar el Código

etangle: check for file readability

So now ignore if there are missing/unreable files in USEROPTS.
master
Mitch Tishmack hace 8 años
padre
commit
7bcf1bf5d2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      etangle

+ 2
- 1
etangle Ver fichero

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



Cargando…
Cancelar
Guardar