bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48779: (:documentation mydoc) not working


From: Lars Ingebrigtsen
Subject: bug#48779: (:documentation mydoc) not working
Date: Tue, 01 Jun 2021 17:33:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <dimech@gmx.com> writes:

> I have the code below.  Doing "C-h f aoe" gives
>
> -------- help ---------
>
> aoe is a Lisp function in ‘gungadin.el’.
>
> (aoe X)
>
> Not documented.
>
> -------- code --------
>
> (defvar mydoc "foobar")
>
> (defun aoe (x)
>   (:documentation mydoc)
>   (+ x 42))

This undocumented feature only works in lexical-binding buffers.

And there's no need to post bug reports about things you're wondering
about, especially when you're also discussing this on other Emacs
mailing lists.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]