aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-11-30 06:49:03 +0000
committerStefan Monnier2000-11-30 06:49:03 +0000
commitb7a903441d2e1d0cdee7476c34bb8ab711875bb4 (patch)
treedb3f645702b4472e308dd8602b4f3840bdeb2dc2
parent372edc63d4b33f9d214656688ece7677f21bc6e0 (diff)
downloademacs-b7a903441d2e1d0cdee7476c34bb8ab711875bb4.tar.gz
emacs-b7a903441d2e1d0cdee7476c34bb8ab711875bb4.zip
(third...tenth): Really undo change of 2000-08-05.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/cl.el32
2 files changed, 20 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8b82addf684..c7d8a49ad6f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12000-11-30 Stefan Monnier <monnier@cs.yale.edu>
2
3 * emacs-lisp/cl.el (third...tenth): Really undo change of 2000-08-05.
4
12000-11-29 Gerd Moellmann <gerd@gnu.org> 52000-11-29 Gerd Moellmann <gerd@gnu.org>
2 6
3 * help.el (describe-function-1): Regexp-quote function name 7 * help.el (describe-function-1): Regexp-quote function name
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index 7be8a0561a2..0e8897db2f4 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -334,36 +334,36 @@ SEQ, this is like `mapcar'. With several, it is like the Common Lisp
334(defalias 'endp 'null) 334(defalias 'endp 'null)
335 335
336(defun third (x) 336(defun third (x)
337 "Return the third element of the list LIST." 337 "Return the third element of the list X."
338 `(car (cdr (cdr ,x)))) 338 (car (cdr (cdr x))))
339 339
340(defun fourth (x) 340(defun fourth (x)
341 "Return the fourth element of the list LIST." 341 "Return the fourth element of the list X."
342 `(nth 3 ,x)) 342 (nth 3 x))
343 343
344(defun fifth (x) 344(defun fifth (x)
345 "Return the fifth element of the list LIST." 345 "Return the fifth element of the list X."
346 `(nth 4 ,x)) 346 (nth 4 x))
347 347
348(defun sixth (x) 348(defun sixth (x)
349 "Return the sixth element of the list LIST." 349 "Return the sixth element of the list X."
350 `(nth 5 ,x)) 350 (nth 5 x))
351 351
352(defun seventh (x) 352(defun seventh (x)
353 "Return the seventh element of the list LIST." 353 "Return the seventh element of the list X."
354 `(nth 6 ,x)) 354 (nth 6 x))
355 355
356(defun eighth (x) 356(defun eighth (x)
357 "Return the eighth element of the list LIST." 357 "Return the eighth element of the list X."
358 `(nth 7 ,x)) 358 (nth 7 x))
359 359
360(defun ninth (x) 360(defun ninth (x)
361 "Return the ninth element of the list LIST." 361 "Return the ninth element of the list X."
362 `(nth 8 ,x)) 362 (nth 8 x))
363 363
364(defun tenth (x) 364(defun tenth (x)
365 "Return the tenth element of the list LIST." 365 "Return the tenth element of the list X."
366 `(nth 9 ,x)) 366 (nth 9 x))
367 367
368(defun caaar (x) 368(defun caaar (x)
369 "Return the `car' of the `car' of the `car' of X." 369 "Return the `car' of the `car' of the `car' of X."