Merge branch 'master' of github.com:djcb/mu
This commit is contained in:
@ -368,8 +368,9 @@ tempfile)."
|
||||
(set (make-local-variable 'mu4e-compose-parent-message) original-msg)
|
||||
(put 'mu4e-compose-parent-message 'permanent-local t)
|
||||
(let ((context (mu4e-context-determine mu4e-compose-parent-message)))
|
||||
(when context
|
||||
(mu4e-context-switch (mu4e-context-name context))))
|
||||
(if context
|
||||
(mu4e-context-switch (mu4e-context-name context))
|
||||
(when mu4e-contexts (mu4e-context-switch))))
|
||||
(run-hooks 'mu4e-compose-pre-hook)
|
||||
|
||||
;; this opens (or re-opens) a messages with all the basic headers set.
|
||||
|
||||
@ -107,7 +107,7 @@ If there are contexts but none match, return nil, unless
|
||||
(or (find-if (lambda (context)
|
||||
(and (mu4e-context-match-func context)
|
||||
(funcall (mu4e-context-match-func context) msg))) mu4e-contexts)
|
||||
(car mu4e-contexts))))
|
||||
(when pick-first (car mu4e-contexts)))))
|
||||
|
||||
(provide 'mu4e-context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user