projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b7207e
)
[emacs] don't fail if secrets file not found, but show warning
author
Amin Bandali
<bandali@gnu.org>
Mon, 10 Dec 2018 02:29:35 +0000
(21:29 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Mon, 10 Dec 2018 02:29:35 +0000
(21:29 -0500)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
d3af370
..
44f31dc
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-327,8
+327,11
@@
it it's own file. While at it, treat themes as safe.
** Secrets file
** Secrets file
+Load the secrets file if it exists, otherwise show a warning.
+
#+begin_src emacs-lisp
#+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
#+end_src
** Better =$PATH= handling