Skip to content

Commit

Permalink
Merge pull request #2521 from mssdvd/add-default-notification-action
Browse files Browse the repository at this point in the history
mu4e-notifications: add default action
  • Loading branch information
djcb committed Jul 18, 2023
2 parents 535ab6e + 7cc4804 commit 224bbfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mu4e/mu4e-notification.el
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ support."
;; :app-icon (ignore-errors
;; (image-search-load-path
;; "gnus/gnus.png"))
:actions '("Show" "Favorite bookmark")
:actions '("Show" "Favorite bookmark"
"default" "Favorite bookmark")
:on-action (lambda (_ _) (mu4e-jump-to-favorite)))))
;; ... TBI: other notifications ...
(t ;; last resort
Expand Down

0 comments on commit 224bbfe

Please sign in to comment.