Skip to content

Commit

Permalink
mu4e.texi: fix lisp bookmark examples
Browse files Browse the repository at this point in the history
As per #2711.
  • Loading branch information
djcb committed Jun 4, 2024
1 parent 4b2d128 commit 853fa32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mu4e/mu4e.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,7 @@ inbox:
(add-to-list 'mu4e-bookmarks
'( :name "Inbox messages in the last 7 days"
:query (lambda () (concat "maildir:/inbox AND date:"
(format-time-string "%Y%m%d"
(format-time-string "%Y%m%d.."
(subtract-time (current-time) (days-to-time 7)))))
:key ?w) t)
@end lisp
Expand All @@ -2163,7 +2163,7 @@ shown:
(interactive (list (read-number "Show days old messages: " 7)))
(let ((start-date (subtract-time (current-time) (days-to-time days-old))))
(concat "maildir:/inbox AND date:"
(format-time-string "%Y%m%d" start-date))))
(format-time-string "%Y%m%d.." start-date))))
(add-to-list 'mu4e-bookmarks
`(:name "Inbox messages in the last 7 days"
Expand Down

0 comments on commit 853fa32

Please sign in to comment.