diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-10-14 20:23:53 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-10-14 20:23:53 +0300 |
commit | ad30f1e5fc955d95ebc09016f3b95afc6f594010 (patch) | |
tree | 68acd0c9b5507db985cb193e4763add917bbfb13 /doc | |
parent | 83010ae0fedf150e590eb38eadab0110946d8206 (diff) | |
download | emacs-ad30f1e5fc955d95ebc09016f3b95afc6f594010.tar.gz |
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)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 15 |
1 files 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, |