At ti, authinfo is in the same place

This commit is contained in:
Benson Chu 2024-11-18 10:56:43 -06:00
parent 02e76f2861
commit 6bf9d967dc

View file

@ -238,7 +238,10 @@
#+end_src
* encryption
#+begin_src emacs-lisp
(let ((authinfo-file (expand-file-name "~/.authinfo")))
(let ((authinfo-file
(if my-ec/at-ti
(ef "secrets/.authinfo.gpg")
(expand-file-name "~/.authinfo"))))
(if (not (setq my-ec/authinfo-exists
(file-exists-p authinfo-file)))
(warn ".authinfo file missing, remember to setup seafile. Mail config is also prevented from loading")