emacs-devel
[Top][All Lists]
Advanced

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

Re: Add hints to documentation of car and cdr for (e)lisp newcomers - ta


From: Stefan Kangas
Subject: Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2
Date: Thu, 15 Jul 2021 13:39:54 +0200

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Yeah, perhaps that'd be nice?  Something like:
>
> (car '(a b c)) => a
> (car '(1 . 2)) => 1
> (car nil)      => nil
> Also see `cdr'.

I like it.

In general, I think we should include more examples in our
documentation.  shortdoc.el is a step forward here, and it would be
even better if you could see those examples when you pull up the
docstring of a function.



reply via email to

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