aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDmitry Antipov2014-08-29 15:02:56 +0400
committerDmitry Antipov2014-08-29 15:02:56 +0400
commitdd958fb246a13c024ce58415c3de99f4390bcd77 (patch)
tree3ef3b5be28a1702e7c5b5276dfd77503b0492061 /test
parentf0e709846e9a5a6b77a2f526fed37624771f19e6 (diff)
downloademacs-dd958fb246a13c024ce58415c3de99f4390bcd77.tar.gz
emacs-dd958fb246a13c024ce58415c3de99f4390bcd77.zip
* doc/lispref/lists.texi (Functions that Rearrange Lists): Remove
description of sort ... * doc/lispref/sequences.texi (Sequence Functions): ... and generalize it for sequences. Add an example. * src/fns.c (Fsort): Use more natural Qsequencep error. * test/automated/fns-tests.el (fns-tests-sort): Minor style rewrite.
Diffstat (limited to 'test')
-rw-r--r--test/automated/fns-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/fns-tests.el b/test/automated/fns-tests.el
index a6c45443db6..9f55a873ea4 100644
--- a/test/automated/fns-tests.el
+++ b/test/automated/fns-tests.el
@@ -113,8 +113,8 @@
113 (should (equal 113 (should (equal
114 (sort 114 (sort
115 (vector 115 (vector
116 (cons 8 "xxx") (cons 9 "aaa") (cons 8 "bbb") (cons 9 "zzz") 116 '(8 . "xxx") '(9 . "aaa") '(8 . "bbb") '(9 . "zzz")
117 (cons 9 "ppp") (cons 8 "ttt") (cons 8 "eee") (cons 9 "fff")) 117 '(9 . "ppp") '(8 . "ttt") '(8 . "eee") '(9 . "fff"))
118 (lambda (x y) (< (car x) (car y)))) 118 (lambda (x y) (< (car x) (car y))))
119 [(8 . "xxx") (8 . "bbb") (8 . "ttt") (8 . "eee") 119 [(8 . "xxx") (8 . "bbb") (8 . "ttt") (8 . "eee")
120 (9 . "aaa") (9 . "zzz") (9 . "ppp") (9 . "fff")]))) 120 (9 . "aaa") (9 . "zzz") (9 . "ppp") (9 . "fff")])))