; Fix footnotes in ELisp Intro manual

This commit is contained in:
Eli Zaretskii 2023-12-24 10:46:04 +02:00
parent ceacf75395
commit 03dc914fd3

View file

@ -16893,11 +16893,13 @@ remember to look here to remind myself.
@section Text and Auto Fill Mode @section Text and Auto Fill Mode
Now we come to the part that turns on Text mode and Auto Fill Now we come to the part that turns on Text mode and Auto Fill
mode.@footnote{This section suggests settings that are more suitable mode@footnote{
for writers. For programmers, the default mode will be set to the This section suggests settings that are more suitable for writers.
corresponding prog-mode automatically based on the type of the file. For programmers, the default mode will be set to the corresponding
And it's perfectly fine if you want to keep the fundamental mode as prog-mode automatically based on the type of the file. And it's
the default mode.} perfectly fine if you want to keep the fundamental mode as the default
mode.
}.
@smallexample @smallexample
@group @group
@ -16957,17 +16959,18 @@ This line is a short, but complete Emacs Lisp expression.
We are already familiar with @code{setq}. We use a similar macro We are already familiar with @code{setq}. We use a similar macro
@code{setq-default} to set the following variable, @code{setq-default} to set the following variable,
@code{major-mode}@footnote{We use @code{setq-default} because @code{major-mode}@footnote{
@code{text-mode} is buffer local. If we use @code{setq} it will only We use @code{setq-default} here because @code{text-mode} is
apply to the current buffer, and using @code{setq-default} will also buffer-local. If we use @code{setq}, it will only apply to the
apply this to newly created buffers.}, to the subsequent value, which current buffer, whereas using @code{setq-default} will also apply to
is @code{text-mode}. The single-quote before @code{text-mode} tells newly created buffers. This is not recommended for programmers.
Emacs to deal directly with the @code{text-mode} symbol, not with }, to the subsequent value, which is @code{text-mode}. The
whatever it might stand for. @xref{setq, , Setting the Value of single-quote before @code{text-mode} tells Emacs to deal directly with
a Variable}, for a reminder of how @code{setq} works. The main point the @code{text-mode} symbol, not with whatever it might stand for.
is that there is no difference between the procedure you use to set @xref{setq, , Setting the Value of a Variable}, for a reminder of how
a value in your @file{.emacs} file and the procedure you use anywhere @code{setq} works. The main point is that there is no difference
else in Emacs. between the procedure you use to set a value in your @file{.emacs}
file and the procedure you use anywhere else in Emacs.
@need 800 @need 800
Here is the next line: Here is the next line: