emacs-devel
[Top][All Lists]
Advanced

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

Re: About elements in `format-alist'


From: Michael Heerdegen
Subject: Re: About elements in `format-alist'
Date: Tue, 18 Jun 2013 00:24:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Xue Fuqiao <address@hidden> writes:

> Hi list,
>
> In the doc string of `format-alist':
>
>   Elements are of the form
>   (NAME DOC-STR REGEXP FROM-FN TO-FN MODIFY MODE-FN PRESERVE).
>
> There should be 8 elements in each list.  But there are only 7 elements
> in each list of the default value.  Which one is absent?  If there's an
> optional element, I think we should mention it in the doc string.

Looks like missing elements are just treated as if they were nil (the
code uses `nth').

Dunno if it's worth the trouble of making a bug report - since holding
the convention doesn't make problems (does it?).


Regards,

Michael.



reply via email to

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