[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r102760: * lisp/emacs-lisp/rx.el
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r102760: * lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function. |
Date: |
Wed, 05 Jan 2011 23:55:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> + * emacs-lisp/rx.el (rx-repeat): Replace CL function.
[...]
> @@ -664,7 +664,7 @@
> (if (> (length form) 4)
> (setq form (rx-trans-forms form 2)))
> (if (null (nth 2 form))
> - (setq form (list* (nth 0 form) (nth 1 form) (nthcdr 3 form))))
> + (setq form (cons (nth 0 form) (cons (nth 1 form) (nthcdr 3 form)))))
> (cond ((= (length form) 3)
> (unless (and (integerp (nth 1 form))
> (> (nth 1 form) 0))
AFAIK this is not needed, since list* has a compiler macro that
does the above replacement for you during byte-compilation.
Stefan