aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-10-31 16:54:19 -0400
committerGlenn Morris2012-10-31 16:54:19 -0400
commit89b2c8a133b379520d25a7bfa132178f8226d226 (patch)
treed1f69105194bf303fcdf15c10eb8b5b7ff8646be
parent5c6ce1c7d035ad412e9bdec6cf385c06ffd5680e (diff)
downloademacs-89b2c8a133b379520d25a7bfa132178f8226d226.tar.gz
emacs-89b2c8a133b379520d25a7bfa132178f8226d226.zip
Lispref updates for some things no longer being special forms
* 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.
-rw-r--r--doc/lispref/ChangeLog7
-rw-r--r--doc/lispref/eval.texi15
-rw-r--r--doc/lispref/functions.texi4
3 files changed, 10 insertions, 16 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index eca39e54203..31da666eea6 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,10 @@
12012-10-31 Glenn Morris <rgm@gnu.org>
2
3 * eval.texi (Special Forms): No longer special forms: defmacro,
4 defun, save-window-excursion, with-output-to-temp-buffer.
5 * functions.texi (Defining Functions): Defun is now a macro.
6 Defalias is a function.
7
12012-10-30 Glenn Morris <rgm@gnu.org> 82012-10-30 Glenn Morris <rgm@gnu.org>
2 9
3 * variables.texi (Generalized Variables): Fix typo. 10 * variables.texi (Generalized Variables): Fix typo.
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index b373ecfbe62..670b293bea6 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -450,12 +450,6 @@ Emacs Lisp with a reference to where each is described.
450@item defconst 450@item defconst
451@pxref{Defining Variables} 451@pxref{Defining Variables}
452 452
453@item defmacro
454@pxref{Defining Macros}
455
456@item defun
457@pxref{Defining Functions}
458
459@item defvar 453@item defvar
460@pxref{Defining Variables} 454@pxref{Defining Variables}
461 455
@@ -492,9 +486,6 @@ Emacs Lisp with a reference to where each is described.
492@item save-restriction 486@item save-restriction
493@pxref{Narrowing} 487@pxref{Narrowing}
494 488
495@item save-window-excursion
496@pxref{Window Configurations}
497
498@item setq 489@item setq
499@pxref{Setting Variables} 490@pxref{Setting Variables}
500 491
@@ -509,9 +500,6 @@ Emacs Lisp with a reference to where each is described.
509 500
510@item while 501@item while
511@pxref{Iteration} 502@pxref{Iteration}
512
513@item with-output-to-temp-buffer
514@pxref{Temporary Displays}
515@end table 503@end table
516 504
517@cindex CL note---special forms compared 505@cindex CL note---special forms compared
@@ -519,8 +507,7 @@ Emacs Lisp with a reference to where each is described.
519@b{Common Lisp note:} Here are some comparisons of special forms in 507@b{Common Lisp note:} Here are some comparisons of special forms in
520GNU Emacs Lisp and Common Lisp. @code{setq}, @code{if}, and 508GNU Emacs Lisp and Common Lisp. @code{setq}, @code{if}, and
521@code{catch} are special forms in both Emacs Lisp and Common Lisp. 509@code{catch} are special forms in both Emacs Lisp and Common Lisp.
522@code{defun} is a special form in Emacs Lisp, but a macro in Common 510@code{save-excursion} is a special form in Emacs Lisp, but
523Lisp. @code{save-excursion} is a special form in Emacs Lisp, but
524doesn't exist in Common Lisp. @code{throw} is a special form in 511doesn't exist in Common Lisp. @code{throw} is a special form in
525Common Lisp (because it must be able to throw multiple values), but it 512Common Lisp (because it must be able to throw multiple values), but it
526is a function in Emacs Lisp (which doesn't have multiple 513is a function in Emacs Lisp (which doesn't have multiple
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 623106b6d06..05fd2486fd6 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -520,7 +520,7 @@ Scheme.)
520 520
521 We usually give a name to a function when it is first created. This 521 We usually give a name to a function when it is first created. This
522is called @dfn{defining a function}, and it is done with the 522is called @dfn{defining a function}, and it is done with the
523@code{defun} special form. 523@code{defun} macro.
524 524
525@defmac defun name args [doc] [declare] [interactive] body@dots{} 525@defmac defun name args [doc] [declare] [interactive] body@dots{}
526@code{defun} is the usual way to define new Lisp functions. It 526@code{defun} is the usual way to define new Lisp functions. It
@@ -583,7 +583,7 @@ redefinition from unintentional redefinition.
583@cindex function aliases 583@cindex function aliases
584@defun defalias name definition &optional doc 584@defun defalias name definition &optional doc
585@anchor{Definition of defalias} 585@anchor{Definition of defalias}
586This special form defines the symbol @var{name} as a function, with 586This function defines the symbol @var{name} as a function, with
587definition @var{definition} (which can be any valid Lisp function). 587definition @var{definition} (which can be any valid Lisp function).
588Its return value is @emph{undefined}. 588Its return value is @emph{undefined}.
589 589