mirror of https://github.com/djcb/mu.git
* mu4e/mu4e-contrib.el (mu4e-view-bookmark-make-record): Fix, using last-query doesn't work when the query contain a date query.
This commit is contained in:
parent
431d97f556
commit
f6fb12262a
|
@ -57,7 +57,9 @@
|
|||
(defun mu4e-view-bookmark-make-record ()
|
||||
"Make a bookmark entry for a mu4e buffer."
|
||||
(let* ((msg (mu4e-message-at-point))
|
||||
(query (mu4e-last-query))
|
||||
(maildir (plist-get msg :maildir))
|
||||
(date (format-time-string "%Y%m%d" (plist-get msg :date)))
|
||||
(query (format "maildir:%s date:%s" maildir date))
|
||||
(docid (plist-get msg :docid))
|
||||
(mode (symbol-name major-mode))
|
||||
(subject (or (plist-get msg :subject) "No subject")))
|
||||
|
|
Loading…
Reference in New Issue