* lisp/emacs-lisp/advice.el (defadvice): Mark as obsolete
This commit is contained in:
parent
0c2152222a
commit
27ed565ec6
2 changed files with 5 additions and 0 deletions
4
etc/NEWS
4
etc/NEWS
|
@ -685,6 +685,10 @@ provokes an error if used numerically.
|
|||
|
||||
* Lisp Changes in Emacs 30.1
|
||||
|
||||
** 'defadvice' is marked as obsolete.
|
||||
See (info "(elisp)Porting Old Advice") for help converting them
|
||||
to use `advice-add` or `define-advice instead.
|
||||
|
||||
+++
|
||||
** New user option 'safe-local-variable-directories'.
|
||||
This user option names directories in which Emacs will treat all
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue