Skip to content

Commit

Permalink
docs(mu4e-alert): function documentation en comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 6, 2023
1 parent f531cda commit e9004e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/me-email.el
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
:group 'minemacs-mu4e
:type '(cons string string))
:config
;; Enable on mu4e notifications in doom-modeline
;; Enable `mu4e' segment in `doom-modeline'
(setq doom-modeline-mu4e t)

;; Ignore spams!
Expand All @@ -198,6 +198,7 @@
name)))

(defun +mu4e-alert-grouped-mail-notif-formatter (mail-group _all-mails)
"This function can be used for `mu4e-alert-grouped-mail-notification-formatter'."
(when +mu4e-alert-bell-command
(start-process "mu4e-alert-bell" nil (car +mu4e-alert-bell-command) (cdr +mu4e-alert-bell-command)))
(let ((mail-count (length mail-group)))
Expand Down

0 comments on commit e9004e0

Please sign in to comment.