summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs-init.org5
-rw-r--r--emacs-private-00.el.gpg (renamed from emacs-private.el.gpg)bin1289 -> 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
index 1efdb54..1efdb54 100644
--- a/emacs-private.el.gpg
+++ b/emacs-private-00.el.gpg
Binary files differ