emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org-contacts 0ec6917ed8 091/154: Deprecate `org-no-warn


From: ELPA Syncer
Subject: [elpa] externals/org-contacts 0ec6917ed8 091/154: Deprecate `org-no-warnings' in favor of `with-no-warnings'
Date: Fri, 9 Sep 2022 15:58:41 -0400 (EDT)

branch: externals/org-contacts
commit 0ec6917ed8f64fbb9aecf722b123c5bca59c5e70
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
      obsolete.
    * contrib/lisp/org-contacts.el (defvar):
    * contrib/lisp/org-wl.el (org-wl-open):
    * lisp/org-agenda.el (defvar):
    (org-anniversary):
    (org-cyclic):
    (org-block):
    (org-date):
    * lisp/org-bbdb.el (defvar):
    * lisp/org-clock.el (org-clock-out):
    (org-clock-cancel):
    * 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 797aa29ff8..72269de7e1 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]