From: Glenn Morris Date: Thu, 3 Apr 2008 03:33:37 +0000 (+0000) Subject: (diary-mail-addr): Use bound-and-true-p. X-Git-Tag: emacs-pretest-23.0.90~6656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cd59c73370fc3d531f29ec8308447c3682eaf8a;p=emacs.git (diary-mail-addr): Use bound-and-true-p. --- 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