From: Stefan Monnier Date: Sat, 29 Mar 2008 22:20:13 +0000 (+0000) Subject: (remember-diary-convert-entry): Prefer boundp to with-no-warnings. X-Git-Tag: emacs-pretest-23.0.90~6790 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6199aad9a3ccd85812ae295e3ea003b868f22713;p=emacs.git (remember-diary-convert-entry): Prefer boundp to with-no-warnings. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5b0c18b60bc..50d418df4a2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-03-29 Stefan Monnier + + * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp + to with-no-warnings. + 2008-03-29 Michael Albinus Sync with Tramp 2.1.13. diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el index 459bf5b7898..317ddd43adb 100644 --- a/lisp/textmodes/remember.el +++ b/lisp/textmodes/remember.el @@ -481,7 +481,7 @@ If this is nil, then `diary-file' will be used instead." (replace-match (let ((style (if (boundp 'calendar-date-style) calendar-date-style - (if (with-no-warnings european-calendar-style) + (if (bound-and-true-p european-calendar-style) 'european 'american)))) (cond ((eq style 'european)