From 0ec6917ed8f64fbb9aecf722b123c5bca59c5e70 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 23 Jun 2016 15:20:32 +0200 Subject: [PATCH] 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 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\".