lisp/org.el: Make `org-load-hook' obsolete

* lisp/org.el (org-load-hook): Make obsolete in favor of
`with-eval-after-load'.
This commit is contained in:
Stefan Kangas 2021-05-07 14:50:48 +02:00 committed by Bastien
parent 0f2ece647b
commit f1b9119954
1 changed files with 2 additions and 0 deletions

View File

@ -653,6 +653,8 @@ defined in org-duration.el.")
"Hook that is run after org.el has been loaded."
:group 'org
:type 'hook)
(make-obsolete-variable 'org-load-hook
"use `with-eval-after-load' instead." "Org 9.5")
(defcustom org-log-buffer-setup-hook nil
"Hook that is run after an Org log buffer is created."