~bzg/org-contrib

7ebf7f2f28e96341f4a6830e70863334497a3617 — Ihor Radchenko 9 months ago 4f767bb
lisp/org-expiry.el (org-expiry-deinsinuate): Fix obsolete `ad-deactivate'
1 files changed, 3 insertions(+), 3 deletions(-)

M lisp/org-expiry.el
M lisp/org-expiry.el => lisp/org-expiry.el +3 -3
@@ 197,9 197,9 @@ restart `org-mode' if necessary."
If ARG, also remove org-expiry hook in Org's `before-save-hook'
and restart `org-mode' if necessary."
  (interactive "P")
  (ad-deactivate 'org-schedule)
  (ad-deactivate 'org-time-stamp)
  (ad-deactivate 'org-deadline)
  (advice-remove 'org-schedule #'org-schedule@org-schedule-update-created)
  (advice-remove 'org-time-stamp #'org-time-stamp@org-time-stamp-update-created)
  (advice-remove 'org-deadline #'org-deadline@org-deadline-update-created)
  (remove-hook 'org-insert-heading-hook 'org-expiry-insert-created)
  (remove-hook 'org-after-todo-state-change-hook 'org-expiry-insert-created)
  (remove-hook 'org-after-tags-change-hook 'org-expiry-insert-created)