Skip to content

Commit

Permalink
Fix compilation warnings on Emacs 31
Browse files Browse the repository at this point in the history
* mu4e-overview.el (mu4e-overview--gather-1): Use `when-let*' instead
of obsolete `when-let'.
  • Loading branch information
mkcms committed Nov 3, 2024
1 parent d080ad1 commit 389bfe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mu4e-overview.el
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ This is a subr of `mu4e-overview-gather'."

;; Gather unread/total counts for each folder.
(dolist (folder folders)
(when-let ((maildir (mu4e-overview-folder-maildir folder)))
(when-let* ((maildir (mu4e-overview-folder-maildir folder)))
(mu4e-overview--count
maildir
(lambda (unread-count total-count)
Expand Down

0 comments on commit 389bfe2

Please sign in to comment.