Lispref updates for some things no longer being special forms
authorGlenn Morris <rgm@gnu.org>
Wed, 31 Oct 2012 20:54:19 +0000 (16:54 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 31 Oct 2012 20:54:19 +0000 (16:54 -0400)
* doc/lispref/eval.texi (Special Forms): No longer special forms:
defmacro, defun, save-window-excursion, with-output-to-temp-buffer.

* doc/lispref/functions.texi (Defining Functions): Defun is now a macro.
Defalias is a function.

doc/lispref/ChangeLog
doc/lispref/eval.texi
doc/lispref/functions.texi

index eca39e5..31da666 100644 (file)
@@ -1,3 +1,10 @@
+2012-10-31  Glenn Morris  <rgm@gnu.org>
+
+       * eval.texi (Special Forms): No longer special forms: defmacro,
+       defun, save-window-excursion, with-output-to-temp-buffer.
+       * functions.texi (Defining Functions): Defun is now a macro.
+       Defalias is a function.
+
 2012-10-30  Glenn Morris  <rgm@gnu.org>
 
        * variables.texi (Generalized Variables): Fix typo.
index b373ecf..670b293 100644 (file)
@@ -450,12 +450,6 @@ Emacs Lisp with a reference to where each is described.
 @item defconst
 @pxref{Defining Variables}
 
-@item defmacro
-@pxref{Defining Macros}
-
-@item defun
-@pxref{Defining Functions}
-
 @item defvar
 @pxref{Defining Variables}
 
@@ -492,9 +486,6 @@ Emacs Lisp with a reference to where each is described.
 @item save-restriction
 @pxref{Narrowing}
 
-@item save-window-excursion
-@pxref{Window Configurations}
-
 @item setq
 @pxref{Setting Variables}
 
@@ -509,9 +500,6 @@ Emacs Lisp with a reference to where each is described.
 
 @item while
 @pxref{Iteration}
-
-@item with-output-to-temp-buffer
-@pxref{Temporary Displays}
 @end table
 
 @cindex CL note---special forms compared
@@ -519,8 +507,7 @@ Emacs Lisp with a reference to where each is described.
 @b{Common Lisp note:} Here are some comparisons of special forms in
 GNU Emacs Lisp and Common Lisp.  @code{setq}, @code{if}, and
 @code{catch} are special forms in both Emacs Lisp and Common Lisp.
-@code{defun} is a special form in Emacs Lisp, but a macro in Common
-Lisp.  @code{save-excursion} is a special form in Emacs Lisp, but
+@code{save-excursion} is a special form in Emacs Lisp, but
 doesn't exist in Common Lisp.  @code{throw} is a special form in
 Common Lisp (because it must be able to throw multiple values), but it
 is a function in Emacs Lisp (which doesn't have multiple
index 623106b..05fd248 100644 (file)
@@ -520,7 +520,7 @@ Scheme.)
 
   We usually give a name to a function when it is first created.  This
 is called @dfn{defining a function}, and it is done with the
-@code{defun} special form.
+@code{defun} macro.
 
 @defmac defun name args [doc] [declare] [interactive] body@dots{}
 @code{defun} is the usual way to define new Lisp functions.  It
@@ -583,7 +583,7 @@ redefinition from unintentional redefinition.
 @cindex function aliases
 @defun defalias name definition &optional doc
 @anchor{Definition of defalias}
-This special form defines the symbol @var{name} as a function, with
+This function defines the symbol @var{name} as a function, with
 definition @var{definition} (which can be any valid Lisp function).
 Its return value is @emph{undefined}.