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:56:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

On Mon 25 Mar 2013, Eli Zaretskii wrote:

>> Date: Mon, 25 Mar 2013 15:56:29 +0400
>> From: Dmitry Antipov <address@hidden>
>> 
>> 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.
>
> You can get "foo" from foo using the # stringizing operator.

True, but you cannot get "foo-bar" from foo_bar that way :-)

    AndyM




reply via email to

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