From b86f0408bd194e9dc364fb802d0246240afc2494 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 28 Sep 2024 21:27:19 +0400 Subject: [PATCH] config/emacs: lisp moment --- config/emacs/emacs.org | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 004356fa..d45c56bc 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1164,6 +1164,12 @@ GNU patch review metho dor sometihng idk (setq mu4e-get-mail-command "offlineimap") (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) (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-compose-context-policy 'always-ask) (setq mu4e-contexts