mirror of https://github.com/djcb/mu.git
* mu4e: applied Michael Strey's patch for the date in citations
What was going wrong? Using the function `mu4e-view-message-text', mu4e~draft-cite-original created a temporary buffer. Based on this buffer the function message-cite-original-without-signature, borrowed from Gnus, had to extract the date for the citation line. The problem was, that this function depends on a standardized date in ISO format whilst mu4e-view-message-text formatted the date according to the setting of mu4e-view-date-format. This patch hopefully solves this problem by setting mu4e-view-date-format in function mu4e~draft-cite-original.
This commit is contained in:
parent
9b5c841602
commit
e3274461db
|
@ -79,7 +79,8 @@ This function uses gnus' `mu4e-compose-cite-function', and as such
|
|||
all its settings apply."
|
||||
(with-temp-buffer
|
||||
(when (fboundp 'mu4e-view-message-text) ;; keep bytecompiler happy
|
||||
(insert (mu4e-view-message-text msg))
|
||||
(let ((mu4e-view-date-format "%Y-%m-%dT%T%z"))
|
||||
(insert (mu4e-view-message-text msg)))
|
||||
(message-yank-original)
|
||||
(goto-char (point-min))
|
||||
(push-mark (point-max))
|
||||
|
|
Loading…
Reference in New Issue