[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ad30f1e: Minor fixes in Introduction to Emacs Lisp
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master ad30f1e: Minor fixes in Introduction to Emacs Lisp |
Date: |
Mon, 14 Oct 2019 13:24:57 -0400 (EDT) |
branch: master
commit ad30f1e5fc955d95ebc09016f3b95afc6f594010
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Minor fixes in Introduction to Emacs Lisp
* doc/lispintro/emacs-lisp-intro.texi (if, save-excursion):
'defun' is a macro, not a special form anymore. (Bug#37747)
---
doc/lispintro/emacs-lisp-intro.texi | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/doc/lispintro/emacs-lisp-intro.texi
b/doc/lispintro/emacs-lisp-intro.texi
index 3e43f7f..489ba8d 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -3826,12 +3826,11 @@ delimit them from the body of the @code{let}.
@findex if
@cindex Conditional with @code{if}
-A third special form, in addition to @code{defun} and @code{let}, is the
-conditional @code{if}. This form is used to instruct the computer to
-make decisions. You can write function definitions without using
-@code{if}, but it is used often enough, and is important enough, to be
-included here. It is used, for example, in the code for the
-function @code{beginning-of-buffer}.
+Anoter special form is the conditional @code{if}. This form is used
+to instruct the computer to make decisions. You can write function
+definitions without using @code{if}, but it is used often enough, and
+is important enough, to be included here. It is used, for example, in
+the code for the function @code{beginning-of-buffer}.
The basic idea behind an @code{if}, is that @emph{if} a test is true,
@emph{then} an expression is evaluated. If the test is not true, the
@@ -4204,8 +4203,8 @@ On the other hand, this function returns @code{nil} if
the test is false.
@findex point
@findex mark
-The @code{save-excursion} function is the third and final special form
-that we will discuss in this chapter.
+The @code{save-excursion} function is the final special form that we
+will discuss in this chapter.
In Emacs Lisp programs used for editing, the @code{save-excursion}
function is very common. It saves the location of point,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ad30f1e: Minor fixes in Introduction to Emacs Lisp,
Eli Zaretskii <=