]> git.eshelyaron.com Git - emacs.git/commit
fcr.el (accessor): New type
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Dec 2021 15:06:17 +0000 (10:06 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Dec 2021 15:06:17 +0000 (10:06 -0500)
commit59f542ef4fb04bc829f5af1728070a1a22c4fd55
treed5117f989b5299b7dd04ec1c092b66ace6f8100e
parent0d45186882cec71dc687e76fef624ef8d6976358
fcr.el (accessor): New type

* lisp/emacs-lisp/fcr.el (accessor): New (FCR) type.
(fcr-defstruct): Mark the accessor functions
as being of type `accessor`.
(fcr--accessor-cl-print, fcr--accessor-docstring): New functions.

* src/doc.c (store_function_docstring): Improve message and fix check.
* lisp/simple.el (function-docstring) <accessor>: New method.
* lisp/emacs-lisp/cl-print.el (cl-print-object) <accessor>: New method.
lisp/emacs-lisp/cl-print.el
lisp/emacs-lisp/crm.el
lisp/emacs-lisp/fcr.el
lisp/simple.el
src/doc.c