* lisp/emacs-lisp/advice.el (defadvice): Mark as obsolete

This commit is contained in:
Stefan Monnier 2023-08-03 23:41:11 -04:00
parent 0c2152222a
commit 27ed565ec6
2 changed files with 5 additions and 0 deletions

View file

@ -3131,6 +3131,7 @@ usage: (defadvice FUNCTION (CLASS NAME [POSITION] [ARGLIST] FLAG...)
[DOCSTRING] [INTERACTIVE-FORM]
BODY...)"
(declare (doc-string 3) (indent 2)
(obsolete "use advice-add or define-advice" "30.1")
(debug (&define name ;; thing being advised.
(name ;; class is [&or "before" "around" "after"
;; "activation" "deactivation"]