[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dolist and dotimes?
From: |
Pavel Janík |
Subject: |
Re: dolist and dotimes? |
Date: |
Mon, 03 Dec 2001 20:59:46 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i386-suse-linux-gnu) |
From: Miles Bader <address@hidden>
Date: 04 Dec 2001 04:43:52 +0900
> I suppose that non-cl-using code that is compiled at the same time may
> inadvertently end up using the more inefficient versions, but it's
> probably not _that_ big a deal ...
Thank you for explanation. So, do you think it is OK to rewrite
insert-strong from moclisp to subr.el using dolist?
(defun insert-string (&rest args)
"Mocklisp-compatibility insert function.
Like the function `insert' except that any argument that is a number
is converted into a string by expressing it in decimal."
(dolist (el args)
(insert (if (integerp el) (number-to-string el) el))))
--
Pavel Janík
Pah! Benchmarks, smenchmarks! Give us your bogomips-rating, that's
the only thing that counts :-)
-- David Weinehall in linux-kernel