config/emacs: lisp moment

This commit is contained in:
Sakooooo 2024-09-28 21:27:19 +04:00
parent 71b2b9ff7c
commit b86f0408bd
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -1164,6 +1164,12 @@ GNU patch review metho dor sometihng idk
(setq mu4e-get-mail-command "offlineimap") (setq mu4e-get-mail-command "offlineimap")
(setq mu4e-maildir "~/Mail") (setq mu4e-maildir "~/Mail")
(defvar outlook-mail-address nil)
(defvar proton-mail-address nil)
(defvar gmail-1-mail-address nil)
(defvar gmail-2-mail-address nil)
(add-hook 'mu4e-update-pre-hook 'sakomacs/pull-email-address) (add-hook 'mu4e-update-pre-hook 'sakomacs/pull-email-address)
(defun sakomacs/pull-email-address () (defun sakomacs/pull-email-address ()
@ -1189,12 +1195,7 @@ GNU patch review metho dor sometihng idk
) )
(defvar outlook-mail-address nil)
(defvar proton-mail-address nil)
(defvar gmail-1-mail-address nil)
(defvar gmail-2-mail-address nil)
(setq mu4e-context-policy 'pick-first) (setq mu4e-context-policy 'pick-first)
(setq mu4e-compose-context-policy 'always-ask) (setq mu4e-compose-context-policy 'always-ask)
(setq mu4e-contexts (setq mu4e-contexts