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

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

Re: Lisp error on function :documentation


From: Heime
Subject: Re: Lisp error on function :documentation
Date: Sun, 16 Oct 2022 02:59:04 +0000

------- Original Message -------
On Sunday, October 16th, 2022 at 2:48 AM, Michael Heerdegen 
<michael_heerdegen@web.de> wrote:


> Heime via Users list for the GNU Emacs text editor
> help-gnu-emacs@gnu.org writes:
> 
> > I am getting the following lisp error: (void-function
> > :documentation). Seems correct to me.
> > 
> > (defun ivy-config ()
> > 
> > (:documentation (concat "Ivy completion.\n\n" ivy-details))
> 
> 
> I think it's better to avoid undocumented features unless absolutely
> sure how they work or being able to find out.
> 
> Michael.

The intention was to be able to append more detailed documentation
to the docstring, without having the documentation part of the function
too long.  Is there something equivalent to the undocumented use of 
":documentation" ?  

Otherwise, I would have to append it after defining the function, which is
not ideal.




reply via email to

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