From ad30f1e5fc955d95ebc09016f3b95afc6f594010 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 14 Oct 2019 20:23:53 +0300 Subject: [PATCH] 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 3e43f7f09f4..489ba8d6ef8 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, -- 2.39.5