unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Error in diary-mail-entries example script?
@ 2024-07-20  6:45 Colin Baxter
  0 siblings, 0 replies; only message in thread
From: Colin Baxter @ 2024-07-20  6:45 UTC (permalink / raw)
  To: emacs-devel


There is an example script given in the function `diary-mail-entries'
which reads:

--8<---------------cut here---------------start------------->8---
#!/usr/bin/emacs -script
;; diary-rem.el - run the Emacs diary-reminder

(setq diary-mail-days 3
      diary-file "/path/to/diary.file"
      calendar-date-style 'european
      diary-mail-addr "user@host.name")

(diary-mail-entries)

# diary-rem.el ends here
--8<---------------cut here---------------end--------------->8---

This only works for me if the calendar-date-style is not quoted but
instead placed between double quotes "".

Colin Baxter.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-20  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-20  6:45 Error in diary-mail-entries example script? Colin Baxter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).