[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp error on function :documentation
From: |
Stefan Monnier |
Subject: |
Re: Lisp error on function :documentation |
Date: |
Sun, 16 Oct 2022 00:07:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> > (defun ivy-config ()
>> > (:documentation (concat "Ivy completion.\n\n" ivy-details))
>> > (add-to-list 'load-path "~/contrib/ivy"))
>>
>>
>> Works for me. Is your Emacs simply too old?
>
> Would not think so. Emacs 29.0.50 actually.
Than you might want to give more details about what you've done since
what I understood of what you've done does not result in the error
you showed.
/usr/bin/emacs -Q
M-x ielm RET
(defun ivy-config ()
(:documentation (concat "Ivy completion.\n\n" ivy-details))
(add-to-list 'load-path "~/contrib/ivy"))
RET
complains that "Symbol’s value as variable is void: ivy-details", which
indicates that it understood `:documentation` correctly (i.e. it
processed it when creating the function rather than later when we call
it).
Stefan
- Re: Lisp error on function :documentation, (continued)
- Re: Lisp error on function :documentation, Heime, 2022/10/16
- Re: Lisp error on function :documentation, Stefan Monnier, 2022/10/17
- Re: Lisp error on function :documentation, Emanuel Berg, 2022/10/17
- Re: Lisp error on function :documentation, tomas, 2022/10/17
- Re: Lisp error on function :documentation, Emanuel Berg, 2022/10/18
- Re: Lisp error on function :documentation, Michael Heerdegen, 2022/10/17
- Re: Lisp error on function :documentation, Emanuel Berg, 2022/10/18
Re: Lisp error on function :documentation, Stefan Monnier, 2022/10/15