help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adapting code to cl-lib


From: João Távora
Subject: Re: Adapting code to cl-lib
Date: Mon, 30 Dec 2013 21:48:48 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> You can find a list of symbols to replace in cl.el#176.

Thanks, I took that list and wrote a replace-regexp expression. But just
a regexp won't cut since it will think

   (let ((position 5))
      ...)

is a call to cl-position, which is quite wrong. I ended up fixing these
by hand. A real tool must use the byte-compiler's output, or hop on the
byte-compiler itself. Probably not worth it...

João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]