all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About `defun' in elisp manual
@ 2012-12-28  7:50 Xue Fuqiao
  2012-12-28 14:49 ` Florian v. Savigny
       [not found] ` <mailman.16211.1356706167.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Xue Fuqiao @ 2012-12-28  7:50 UTC (permalink / raw)
  To: help-gnu-emacs

The GNU Emacs Lisp Reference Manual(http://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Functions.html#Defining-Functions) says:
     `defun' is the usual way to define new Lisp functions.  It defines the symbol NAME as a function that looks like this:
          (lambda ARGUMENT-LIST . BODY-FORMS)

Why is the lambda expression a dotted list?  As far as I'm concerned, a normal list is enough.

BTW, it also says:
 -- Special Form: defun name argument-list body-forms...
It doesn't mention the [DOCSTRING] argument, is it a bug?
-- 
Best regards.



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

end of thread, other threads:[~2012-12-28 17:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.16203.1356681053.855.help-gnu-emacs@gnu.org>
2012-12-28 11:07 ` About `defun' in elisp manual Pascal J. Bourguignon
2012-12-28 15:35   ` Drew Adams
2012-12-28 16:15     ` Drew Adams
2012-12-28  7:50 Xue Fuqiao
2012-12-28 14:49 ` Florian v. Savigny
     [not found] ` <mailman.16211.1356706167.855.help-gnu-emacs@gnu.org>
2012-12-28 17:52   ` Pascal J. Bourguignon

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.