From 7cd59c73370fc3d531f29ec8308447c3682eaf8a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 3 Apr 2008 03:33:37 +0000 Subject: [PATCH] (diary-mail-addr): Use bound-and-true-p. --- lisp/calendar/diary-lib.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 1b1096bb6e1..16b06b342da 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -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 -- 2.39.5