emacs-devel
[Top][All Lists]
Advanced

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

Re: refactoring DEFUN


From: Andy Moreton
Subject: Re: refactoring DEFUN
Date: Mon, 25 Mar 2013 12:55:39 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

On Mon 25 Mar 2013, Dmitry Antipov wrote:

> Although C preprocessor can't transform the text too much, it's
> still possible to use concatenation to avoid silly typing like:
>
> DEFUN ("foo", Ffoo, Sfoo, ...)
>
> and use:
>
> DEFUN ("foo", foo, ...)
>
> instead. The core change is simple, but the obvious rest is ~450K
> uncompressed (99.9% was generated by elisp program, BTW).

It would help to show the elisp program you used to generate the patch,
as that would make it easier to check that the results of the transform
are correct.

Did you find any cases where the names did not match up ?

    AndyM




reply via email to

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