changeset 12737:7b804de92243

(byte-optimize-nthcdr): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Aug 1995 06:44:48 +0000
parents a7253dcf5f9d
children d06973e701f8
files lisp/emacs-lisp/byte-opt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/byte-opt.el	Mon Jul 31 23:13:54 1995 +0000
+++ b/lisp/emacs-lisp/byte-opt.el	Tue Aug 01 06:44:48 1995 +0000
@@ -1041,7 +1041,7 @@
       (byte-optimize-predicate form)
     (let ((count (nth 1 form)))
       (setq form (nth 2 form))
-      (while (> (setq count (1- count)) 0)
+      (while (>= (setq count (1- count)) 0)
 	(setq form (list 'cdr form)))
       form)))