summaryrefslogtreecommitdiff
path: root/emacs-init.org
diff options
context:
space:
mode:
authorfpi2022-03-28 17:29:56 +0200
committerfpi2022-03-28 17:31:30 +0200
commitd2bf2f9e394b443cb27081de9ccd956e9549ff16 (patch)
tree27c1c554e4d2f169188ef2ee1713814f43d5c2ff /emacs-init.org
parentMerge branch 'gnus+' into emacs (diff)
Switch to possibly multiple .el.gpg. secret files
Diffstat (limited to 'emacs-init.org')
-rw-r--r--emacs-init.org5
1 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~