[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9115: 24.0.50; `documentation' should not return args list for CL de
From: |
Thierry Volpiatto |
Subject: |
bug#9115: 24.0.50; `documentation' should not return args list for CL defun*. |
Date: |
Tue, 02 Aug 2011 07:21:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> Yes, it's a bit inconvenient. But if you don't want the arglist, you
>>> should pass the output of documentation through help-split-fundoc.
>>> That should then return you the nil you're looking for.
>> The cdr of help-split-fundoc return nil as expected for functions, CL-style
>> function, but always nil for macros even if they are documented.
>
> Hmm... I don't understand: help-split-fundoc doesn't care if the
> docstring comes from a function, a macro, or a mushroom. Or maybe
> I don't understand what you're saying. Can you show some detail of what
> you do?
--8<---------------cut here---------------start------------->8---
(defun* foo (&rest args) nil)
(help-split-fundoc (documentation 'foo) nil)
=>("(nil &rest ARGS)")
(defun bar (&rest args) nil)
(help-split-fundoc (documentation 'bar) nil)
=>nil
(defmacro foo-1 (&rest args) "some doc." nil)
(help-split-fundoc (documentation 'foo-1) nil)
nil
--8<---------------cut here---------------end--------------->8---
But same here, it's ok i finally parse myself th output of documentation
to extract the first line, it works fine.(so i don't use
help-split-fundoc)
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Stefan Monnier, 2011/08/01
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*.,
Thierry Volpiatto <=
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Stefan Monnier, 2011/08/02
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Thierry Volpiatto, 2011/08/02
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Stefan Monnier, 2011/08/02
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Thierry Volpiatto, 2011/08/02
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Stefan Monnier, 2011/08/02
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Thierry Volpiatto, 2011/08/03
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Stefan Monnier, 2011/08/03
- bug#9115: 24.0.50; `documentation' should not return args list for CL defun*., Thierry Volpiatto, 2011/08/03