help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diary-mail-entries


From: Arthur Alinovi
Subject: diary-mail-entries
Date: Mon, 22 Jul 2024 11:40:12 -0400

I have the following in ~/.emacs.d/init.el:

(require 'midnight)
(setq midnight-period 39600) ;; (eq (* 11 60 60) "12 hours")
(midnight-delay-set 'midnight-delay 1800)
(add-hook 'midnight-hook 'diary-mail-entries)

My thinking is that this sets "midnight" for 11:00am and runs the
midnight-hook diary-mail-entries 30 minutes later.

Obviously, my thinking is flawed or I wouldn't be here.

So, what am I doing wrong and how do I correct it?

Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]