unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13740: About a coding convention
@ 2013-02-18  0:25 Xue Fuqiao
  2013-02-19 19:55 ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Xue Fuqiao @ 2013-02-18  0:25 UTC (permalink / raw)
  To: 13740

In (info "(elisp) Coding Conventions"):

   * Constructs that define a function or variable should be macros,
     not functions, and their names should start with `define-'.  The
     macro should receive the name to be defined as the first argument.
     That will help various tools find the definition automatically.
     Avoid constructing the names in the macro itself, since that would
     confuse these tools.

I think macros like `cl-defsubst', `cl-defun' should be mentioned here.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





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

end of thread, other threads:[~2020-08-07 11:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18  0:25 bug#13740: About a coding convention Xue Fuqiao
2013-02-19 19:55 ` Glenn Morris
2013-02-21  0:28   ` Xue Fuqiao
     [not found]     ` <8738wqa0sp@ch.ristopher.com>
2013-02-21  2:10       ` Xue Fuqiao
2013-02-21 15:21     ` Stefan Monnier
2013-02-21 17:01     ` Glenn Morris
2020-08-07 11:23       ` Stefan Kangas

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).