[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help requested on midnight-mode
From: |
aalinovi |
Subject: |
Help requested on midnight-mode |
Date: |
Sun, 16 Jul 2023 10:32:15 -0400 |
I have the following in my ~/.emacs.d/init.el:
(require 'midnight)
(setq midnight-period 86400) ;; (eq (* 24 60 60) "24 hours")
(midnight-delay-set 'midnight-delay 900)
(add-hook 'midnight-hook 'diary-mail-entries)
which emails me diary entries at 15 minutes past midnight.
What I would like to do is have those diary entries mailed 2 hours
earlier, at 10:00 PM.
I changed the midnight-delay line to read 79200 instead of 900
figuring that 10:00 PM is 79200 seconds past midnight.
Obviously, that doesn't work or I wouldn't be here asking for help.
If anyone can tell me what I am doing wrong and how to correct it, I
wold be grateful.
Thanks
Arthur
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Help requested on midnight-mode,
aalinovi <=