summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-06-22 16:46:25 +0300
committerEli Zaretskii <eliz@gnu.org>2022-06-22 16:46:25 +0300
commita3f294b37f81ae3d5438ff32173726bddaa79496 (patch)
tree844f9099af273a4a905b6ff2104bd74099268c79
parentf3acc09377f98ae18653eb01c11c57b6449c83af (diff)
downloademacs-a3f294b37f81ae3d5438ff32173726bddaa79496.tar.gz
Improve last change in autotype.texi
* doc/misc/autotype.texi (Autoinserting): Fix wording. Suggested by Richard Stallman <rms@gnu.org>.
-rw-r--r--doc/misc/autotype.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi
index a880642ac37..b005c9c34f7 100644
--- a/doc/misc/autotype.texi
+++ b/doc/misc/autotype.texi
@@ -274,13 +274,13 @@ empty file is visited. This is accomplished by putting
@vindex auto-insert-alist
What gets inserted, if anything, is determined by the variable
-@code{auto-insert-alist}. The @sc{car}s of this list are each either
-a mode name, making an element applicable when a buffer is in that
-mode, or they can be a string, which is a regexp matched against the
-buffer's file name. In that way different kinds of files that have
-the same mode in Emacs can be distinguished. The @sc{car}s may also
-be cons cells consisting of mode name or regexp as above and an
-additional descriptive string.
+@code{auto-insert-alist}. The @sc{car} of each element of this list
+is either a mode name, making the element applicable when a buffer is
+in that mode, or a string, which is a regexp matched against a
+buffer's file name (the latter allows to distinguish between different
+kinds of files that have the same mode in Emacs). The @sc{car} of an
+element may also be a cons cell, consisting of mode name or regexp, as
+above, and an additional descriptive string.
When a matching element is found, the @sc{cdr} says what to do. It may
be a string, which is a file name, whose contents are to be inserted, if