From: Amin Bandali Date: Mon, 10 Dec 2018 02:29:35 +0000 (-0500) Subject: [emacs] don't fail if secrets file not found, but show warning X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/319010c3bb259b32c52e6ab1dded89dbdc345903?ds=inline [emacs] don't fail if secrets file not found, but show warning --- diff --git a/init.org b/init.org index d3af370..44f31dc 100644 --- a/init.org +++ b/init.org @@ -327,8 +327,11 @@ it it's own file. While at it, treat themes as safe. ** Secrets file +Load the secrets file if it exists, otherwise show a warning. + #+begin_src emacs-lisp -(load (no-littering-expand-etc-file-name "secrets")) +(with-demoted-errors + (load (no-littering-expand-etc-file-name "secrets"))) #+end_src ** Better =$PATH= handling