Add formatting for day-of-death BBDB entries

That's part of it.
This commit is contained in:
Daniel - 2022-06-05 14:50:22 +02:00
parent d63910cb8b
commit a8eeab743a
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 8 additions and 1 deletions

View File

@ -1449,7 +1449,14 @@
:config (progn
(add-hook 'message-setup-hook 'bbdb-mail-aliases)
(add-hook 'mail-setup-hook 'bbdb-mail-aliases)
(run-with-timer 0 3600 #'bbdb-save)))
(run-with-timer 0 3600 #'bbdb-save)
(with-eval-after-load 'ol-bbdb
(add-to-list 'org-bbdb-anniversary-format-alist
(cons "day-of-death"
#'(lambda (name years suffix)
(format "Day of Death: [[bbdb:%s][%s (%s%s)]]"
name name years suffix)))))))
;; General Gnus configuration