* mu4e-headers.el: add history for search input, fix

mu4e-headers-search (interactive)
This commit is contained in:
djcb
2012-05-02 17:21:40 +03:00
parent b4bc9cb6c1
commit 24a18246d2

View File

@ -636,7 +636,9 @@ matching messages with that mark."
'(("subject" nil :subject)
("from" nil :from)
("to" nil :to))))
(pattern (read-string "Regexp: ")))
(pattern (read-string
(mu4e-format "Regexp:")
nil 'mu4e~headers-regexp-hist)))
(mu4e-headers-for-each
(lambda (msg)
(let* ((do-mark) (value (mu4e-msg-field msg field)))