[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] scratch/org-contacts-rebased 9f46067 088/118: Deprecate `org-no-w

From: Stefan Monnier
Subject: [elpa] scratch/org-contacts-rebased 9f46067 088/118: Deprecate `org-no-warnings' in favor of `with-no-warnings'
Date: Fri, 12 Nov 2021 15:37:10 -0500 (EST)

branch: scratch/org-contacts-rebased
commit 9f460676c2b2c91ef8046c92b1ff310790b258fa
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    Deprecate `org-no-warnings' in favor of `with-no-warnings'
    * lisp/org-macs.el (org-no-warnings): Rewove macro.
    * lisp/org-compat.el (org-no-warnings): Mark `org-no-warnings' as
    * contrib/lisp/org-contacts.el (defvar):
    * contrib/lisp/org-wl.el (org-wl-open):
    * lisp/org-agenda.el (defvar):
    * lisp/org-bbdb.el (defvar):
    * lisp/org-clock.el (org-clock-out):
    * lisp/org-mouse.el (org-mouse-show-context-menu):
    * lisp/org.el (org-modify-ts-extra):
    (org-order-calendar-date-args): Small refactoring.
    * lisp/ox-odt.el (org-odt-htmlfontify-string):
 org-contacts.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-contacts.el b/org-contacts.el
index 797aa29..72269de 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -674,7 +674,7 @@ description."
       (goto-char marker)
       (when (eq major-mode 'org-mode) (org-show-context 'agenda)))))
-(org-no-warnings (defvar date)) ;; unprefixed, from calendar.el
+(with-no-warnings (defvar date)) ;; unprefixed, from calendar.el
 (defun org-contacts-anniversaries (&optional field format)
   "Compute FIELD anniversary for each contact, returning FORMAT.
 Default FIELD value is \"BIRTHDAY\".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]