]> git.eshelyaron.com Git - emacs.git/commit
Pretty print OClosure slot accessors
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Apr 2022 21:30:29 +0000 (17:30 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Apr 2022 21:36:12 +0000 (17:36 -0400)
commit21112e3683dd7c1f88028bac4b1835204b8e30f8
tree6e06eaf9cd3f3678df6f25753631aa7cb99dbc6c
parentd35b6a49b33b534f7653bec4d03ab2513a15dc4f
Pretty print OClosure slot accessors

* lisp/emacs-lisp/oclosure.el (oclosure--accessor-cl-print): New function.
* lisp/emacs-lisp/cl-print.el (cl-print-object) <accessor>: New method.
* test/lisp/emacs-lisp/nadvice-tests.el (advice-test-call-interactively):
Avoid `defun` within a function.
lisp/emacs-lisp/cl-print.el
lisp/emacs-lisp/oclosure.el
test/lisp/emacs-lisp/nadvice-tests.el