unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* coccinelle patch suggestion
@ 2012-06-27 17:12 Dan Nicolaescu
  2012-06-27 21:03 ` Andreas Schwab
  2012-06-27 21:24 ` Stefan Monnier
  0 siblings, 2 replies; 13+ messages in thread
From: Dan Nicolaescu @ 2012-06-27 17:12 UTC (permalink / raw)
  To: emacs-devel


Many lisp functions are declared in header files using the EXFUN macro,
like this:
EXFUN (Finteractive_form, 1);

this might have been good when wanting to support both pre-standard C
and standard  C, but we don't support the former anymore.

And EXFUN just adds an unneeded level of obfuscation that doesn't help
code readability.

It seems that with coccinelle it should be easy to create a patch that
replaces all EXFUN usages with the correct declaration, and then EXFUN
can be removed.




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-07-03 13:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 17:12 coccinelle patch suggestion Dan Nicolaescu
2012-06-27 21:03 ` Andreas Schwab
2012-06-28  0:06   ` John Wiegley
2012-06-28 12:39     ` Dmitry Antipov
2012-06-28 18:05       ` Stefan Monnier
2012-06-29 16:36         ` Tom Tromey
2012-07-02 18:12           ` Stefan Monnier
2012-07-02 19:05             ` Tom Tromey
2012-07-03 13:24               ` Stefan Monnier
2012-07-02 15:40         ` Samuel Bronson
2012-07-02 17:11           ` Tom Tromey
2012-06-27 21:24 ` Stefan Monnier
2012-06-27 21:45   ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).