emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 03dc914fd37 2/2: ; Fix footnotes in ELisp Intro manual


From: Eli Zaretskii
Subject: emacs-29 03dc914fd37 2/2: ; Fix footnotes in ELisp Intro manual
Date: Sun, 24 Dec 2023 03:46:43 -0500 (EST)

branch: emacs-29
commit 03dc914fd37735f9f768519bf5bf86913d5c9dbe
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix footnotes in ELisp Intro manual
---
 doc/lispintro/emacs-lisp-intro.texi | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

diff --git a/doc/lispintro/emacs-lisp-intro.texi 
b/doc/lispintro/emacs-lisp-intro.texi
index 26a405361de..673e1f0cfdf 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -16893,11 +16893,13 @@ remember to look here to remind myself.
 @section Text and Auto Fill Mode
 
 Now we come to the part that turns on Text mode and Auto Fill
-mode.@footnote{This section suggests settings that are more suitable
-for writers.  For programmers, the default mode will be set to the
-corresponding prog-mode automatically based on the type of the file.
-And it's perfectly fine if you want to keep the fundamental mode as
-the default mode.}
+mode@footnote{
+This section suggests settings that are more suitable for writers.
+For programmers, the default mode will be set to the corresponding
+prog-mode automatically based on the type of the file.  And it's
+perfectly fine if you want to keep the fundamental mode as the default
+mode.
+}.
 
 @smallexample
 @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
 @code{setq-default} to set the following variable,
-@code{major-mode}@footnote{We use @code{setq-default} because
-@code{text-mode} is buffer local.  If we use @code{setq} it will only
-apply to the current buffer, and using @code{setq-default} will also
-apply this to newly created buffers.}, to the subsequent value, which
-is @code{text-mode}.  The single-quote before @code{text-mode} tells
-Emacs to deal directly with the @code{text-mode} symbol, not with
-whatever it might stand for.  @xref{setq, , Setting the Value of
-a Variable}, for a reminder of how @code{setq} works.  The main point
-is that there is no difference between the procedure you use to set
-a value in your @file{.emacs} file and the procedure you use anywhere
-else in Emacs.
+@code{major-mode}@footnote{
+We use @code{setq-default} here because @code{text-mode} is
+buffer-local.  If we use @code{setq}, it will only apply to the
+current buffer, whereas using @code{setq-default} will also apply to
+newly created buffers.  This is not recommended for programmers.
+}, to the subsequent value, which is @code{text-mode}.  The
+single-quote before @code{text-mode} tells Emacs to deal directly with
+the @code{text-mode} symbol, not with whatever it might stand for.
+@xref{setq, , Setting the Value of a Variable}, for a reminder of how
+@code{setq} works.  The main point is that there is no difference
+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
 Here is the next line:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]