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

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

Re: Sorting buffer with string-collate-lessp


From: Tassilo Horn
Subject: Re: Sorting buffer with string-collate-lessp
Date: Tue, 26 May 2015 20:01:43 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> Anyhow, that function name ends with a "p" so it is
> a unary function which returns a boolean, I take it.

No, the "p" just stands for predicate which only implies that it returns
a generalized boolean.  It still might have arbitrary arity, e.g.,
`buffer-narrowed-p' has zero arguments, `consp` has one argument,
`string-lessp' has two arguments, etc.

Bye,
Tassilo



reply via email to

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