Commit 7cd59c73 authored by Glenn Morris's avatar Glenn Morris

(diary-mail-addr): Use bound-and-true-p.

parent 628c97b2
......@@ -210,7 +210,7 @@ with no recognizable time after those with times."
:version "20.3")
(defcustom diary-mail-addr
(if (boundp 'user-mail-address) user-mail-address "")
(or (bound-and-true-p user-mail-address) "")
"Email address that `diary-mail-entries' will send email to."
:group 'diary
:type 'string
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment