summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-05-01 17:17:59 +0200
committerfpi2022-05-01 17:20:58 +0200
commit70b26ae4d8e9933d62451ec6461912a5df4366b9 (patch)
treeb35e4dce3da877abcd293711e48eea1526172189
parentUse multiple personal imaps (diff)
Adjust gnus loading of secret files
-rw-r--r--gnus.org5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnus.org b/gnus.org
index 0bb355e..a293271 100644
--- a/gnus.org
+++ b/gnus.org
@@ -13,9 +13,8 @@ ln -siv ~/sync/gnus/.gnus.registry.eieio ~/.gnus.registry.eieio
Load private settings.
#+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 user-emacs-directory t "^emacs-.*el.gpg$"))
#+end_src
* Config
** Servers