changeset 93567:de3ea5f0a49b

(diary-mail-addr): Use bound-and-true-p.
author Glenn Morris <rgm@gnu.org>
date Thu, 03 Apr 2008 03:33:37 +0000
parents 61bf6b37b78d
children 5429a09e2a56
files lisp/calendar/diary-lib.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/diary-lib.el	Thu Apr 03 03:33:18 2008 +0000
+++ b/lisp/calendar/diary-lib.el	Thu Apr 03 03:33:37 2008 +0000
@@ -210,7 +210,7 @@
   :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