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

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

Re: [External] : Supplying DOC string in a `defun' using `defvar'


From: Michael Heerdegen
Subject: Re: [External] : Supplying DOC string in a `defun' using `defvar'
Date: Wed, 02 Jun 2021 00:39:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <dimech@gmx.com> writes:

> > > > (defun my-fun (x)
> > > >   (:documentation my-doc)
> > > >   (+ x 42))

> I have used emacs-27.1 and emacs-28.0.50.  Doing "C-h f my-fun"
> gives
>
> --------
>
> my-fun is an interactive Lisp function in ‘gungadin.el’.
>
> (my-fun X)
>
> Not documented.

Seems that syntax is only meaningful in lexically binding Elisp.

Michael.



reply via email to

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