This is a couple of lines I use to preview the docstring of a defun, defvar etc using describe-function etc while editing. It's good to see linking and buttonizing, and sometimes check line widths if lot of escapes.
There's a secret `put' system to dispatch various `deffoo' forms to a good `describe-foo', though having written it I hardly use it on anything except defun and defvar. Note the display is done by an eval-defun of the form at point, so don't use it on untrusted code ...
elisp-docstring-preview.el
Description: application/emacs-lisp
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBNm8bLLFMCIV9q3ToRAjJpAKCwz7U8xRIZeh5KgLX/6kOsNY7fHwCfWeQH iUVzrSj4GklcDxj5Vgup8a0= =dd9V -----END PGP SIGNATURE-----
_______________________________________________ gnu-emacs-sources mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
