mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
At ti, authinfo is in the same place
This commit is contained in:
parent
02e76f2861
commit
6bf9d967dc
1 changed files with 4 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue