From 319010c3bb259b32c52e6ab1dded89dbdc345903 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 9 Dec 2018 21:29:35 -0500 Subject: [PATCH 1/1] [emacs] don't fail if secrets file not found, but show warning --- init.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.20.1