]> git.eshelyaron.com Git - emacs.git/commitdiff
(diary-mail-addr): Use bound-and-true-p.
authorGlenn Morris <rgm@gnu.org>
Thu, 3 Apr 2008 03:33:37 +0000 (03:33 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 3 Apr 2008 03:33:37 +0000 (03:33 +0000)
lisp/calendar/diary-lib.el

index 1b1096bb6e1f5c94df7ea36e22654c483516293f..16b06b342dad6443318acbb4571d072bcf7ac8f8 100644 (file)
@@ -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