diff options
author | fpi | 2022-03-28 17:29:56 +0200 |
---|---|---|
committer | fpi | 2022-03-28 17:31:30 +0200 |
commit | d2bf2f9e394b443cb27081de9ccd956e9549ff16 (patch) | |
tree | 27c1c554e4d2f169188ef2ee1713814f43d5c2ff | |
parent | Merge branch 'gnus+' into emacs (diff) |
Switch to possibly multiple .el.gpg. secret files
-rw-r--r-- | emacs-init.org | 5 | ||||
-rw-r--r-- | emacs-private-00.el.gpg (renamed from emacs-private.el.gpg) | bin | 1289 -> 1289 bytes |
2 files changed, 2 insertions, 3 deletions
diff --git a/emacs-init.org b/emacs-init.org index ea29924..cb35283 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -170,9 +170,8 @@ A similar behaviour can be achieved using [[https://github.com/AGWA/git-crypt][g details regarding my emacs configuration in =emacs-private.el.gpg= and load this file here. #+begin_src emacs-lisp -(setq secret-file (expand-file-name "emacs-private.el.gpg" - user-emacs-directory)) -(load secret-file) +(mapc (lambda (file) (load file)) + (directory-files default-directory t "emacs-.*el.gpg")) #+end_src This is the content of =init.el=. Notice the ~:tangle tangle/init.el~ diff --git a/emacs-private.el.gpg b/emacs-private-00.el.gpg Binary files differindex 1efdb54..1efdb54 100644 --- a/emacs-private.el.gpg +++ b/emacs-private-00.el.gpg |