The doc string for `sort' has the following requirement: Returns the sorted list. LIST is modified by side effects. PREDICATE is called with two elements of LIST, and should return t if the first element is "less" than the second. */)
The lisp ref, says the same thing: The argument PREDICATE must be a function that accepts two arguments. It is called with two elements of LIST. To get an increasing order sort, the PREDICATE should return `t' if the first element is "less than" the second, or `nil' if not. Looking at the code, PREDICATE just need to return non-nil; so is there a reason why the doc string says the return value should be `t' rather than any non-`nil' value? -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel