summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/elint.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-04-26 16:39:41 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-04-26 17:36:13 -0400
commitf30625943edefbd88ebf84acbc254ed88db27beb (patch)
tree6bbf46ff01195583b8f5aac5e51584075171747a /lisp/emacs-lisp/elint.el
parentbc9be5449e1127bc1b05a6cad8471c6eba52c8e9 (diff)
downloademacs-f30625943edefbd88ebf84acbc254ed88db27beb.tar.gz
emacs-f30625943edefbd88ebf84acbc254ed88db27beb.tar.bz2
emacs-f30625943edefbd88ebf84acbc254ed88db27beb.zip
nadvice.el: Use OClosures
* lisp/emacs-lisp/nadvice.el (advice): New OClosure type. (advice--how-alist): Make it hold prototype OClosures rather than bytecode strings. (advice--bytecodes): Delete var. (advice--where): Make it an obsolete alias of new `advice--how`. (oclosure-interactive-form, cl-print-object) <advice>: New methods. (advice--make-1): Delete function. (advice--make): Use `advice-copy` and `advice-cons`. (advice--tweak): Use `advice-cons`. (add-function, advice-add): Rename `where` arg to `how`. * lisp/emacs-lisp/cl-print.el (cl-print-object) <:extra "nadvice">: Remove now-redundant ad-hoc method. * test/lisp/emacs-lisp/nadvice-tests.el (advice-test-print): New test.
Diffstat (limited to 'lisp/emacs-lisp/elint.el')
0 files changed, 0 insertions, 0 deletions