mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
nadvice.el: Rename "where" to "how"
* lisp/emacs-lisp/nadvice.el (advice--how-alist): Rename from `advice--where-alist`. (advice--how): Rename from `advice--where` and keep obsolete alias. (add-function, advice-add): Rename `where` arg to `how`. * lisp/emacs-lisp/cl-print.el (cl-print-object): Use `advice--how` name.
This commit is contained in:
parent
4dba7c31a2
commit
bc9be5449e
2 changed files with 43 additions and 42 deletions
|
|
@ -230,8 +230,8 @@ into a button whose action shows the function's disassembly.")
|
|||
(if (not (advice--p object))
|
||||
(cl-call-next-method)
|
||||
(princ "#f(advice-wrapper " stream)
|
||||
(when (fboundp 'advice--where)
|
||||
(princ (advice--where object) stream)
|
||||
(when (fboundp 'advice--how)
|
||||
(princ (advice--how object) stream)
|
||||
(princ " " stream))
|
||||
(cl-print-object (advice--cdr object) stream)
|
||||
(princ " " stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue