[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110752: Lispref updates for some thi
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110752: Lispref updates for some things no longer being special forms |
Date: |
Wed, 31 Oct 2012 16:54:19 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110752
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-10-31 16:54:19 -0400
message:
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.
modified:
doc/lispref/ChangeLog
doc/lispref/eval.texi
doc/lispref/functions.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2012-10-30 07:54:17 +0000
+++ b/doc/lispref/ChangeLog 2012-10-31 20:54:19 +0000
@@ -1,3 +1,10 @@
+2012-10-31 Glenn Morris <address@hidden>
+
+ * 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 <address@hidden>
* variables.texi (Generalized Variables): Fix typo.
=== modified file 'doc/lispref/eval.texi'
--- a/doc/lispref/eval.texi 2012-09-07 10:36:39 +0000
+++ b/doc/lispref/eval.texi 2012-10-31 20:54:19 +0000
@@ -450,12 +450,6 @@
@item defconst
@pxref{Defining Variables}
address@hidden defmacro
address@hidden Macros}
-
address@hidden defun
address@hidden Functions}
-
@item defvar
@pxref{Defining Variables}
@@ -492,9 +486,6 @@
@item save-restriction
@pxref{Narrowing}
address@hidden save-window-excursion
address@hidden Configurations}
-
@item setq
@pxref{Setting Variables}
@@ -509,9 +500,6 @@
@item while
@pxref{Iteration}
-
address@hidden with-output-to-temp-buffer
address@hidden Displays}
@end table
@cindex CL note---special forms compared
@@ -519,8 +507,7 @@
@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.
address@hidden is a special form in Emacs Lisp, but a macro in Common
-Lisp. @code{save-excursion} is a special form in Emacs Lisp, but
address@hidden 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
=== modified file 'doc/lispref/functions.texi'
--- a/doc/lispref/functions.texi 2012-10-23 15:06:07 +0000
+++ b/doc/lispref/functions.texi 2012-10-31 20:54:19 +0000
@@ -520,7 +520,7 @@
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
address@hidden special form.
address@hidden macro.
@defmac defun name args [doc] [declare] [interactive] address@hidden
@code{defun} is the usual way to define new Lisp functions. It
@@ -583,7 +583,7 @@
@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}.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110752: Lispref updates for some things no longer being special forms,
Glenn Morris <=