summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-11-02 09:52:39 +0200
committerEli Zaretskii <eliz@gnu.org>2019-11-02 09:52:39 +0200
commit5a778d504fdbc4fd729ff2cc80be0ca5a68679b6 (patch)
treebe5ab28bf37424fab12ac40cfe0433f2f3d66958
parent4ac6c9b6683d6a5c705efd9d99688de3b6ddf5b7 (diff)
downloademacs-5a778d504fdbc4fd729ff2cc80be0ca5a68679b6.tar.gz
Revert "Omit edition numbers and dates in manuals"
This reverts commit 2f42832895942fdeaa0c500511aa19860fa806cd. Editions of Emacs manuals must be coordinated with the FSF publishing staff, as they appear on the printed books.
-rw-r--r--doc/emacs/emacs.texi20
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi7
-rw-r--r--doc/lispref/elisp.texi13
3 files changed, 38 insertions, 2 deletions
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 678ccb9ba51..a7967ecaee5 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -3,10 +3,28 @@
@setfilename ../../info/emacs.info
@settitle GNU Emacs Manual
@include docstyle.texi
+
+@c The edition number appears in more than one place in this file
+@c I don't really know what it means...
+@c For example, it has said "Sixteenth" since sometime in the Emacs 22
+@c series, all through 23, and into 24. So it is not very useful IMO,
+@c and offers nothing that EMACSVER does not. I guess it relates
+@c mainly to the published book sold by the FSF. Hence no longer
+@c bother including it except iftex. Really, I think it should not be
+@c here at all (since anyone can make a pdf version), but should just
+@c be something added by the FSF during the publishing process.
+@c Also, the lispref uses a float (3.0), whereas this uses an ordinal,
+@c so the format is not even consistent.
+@set EDITION Seventeenth
@include emacsver.texi
@copying
+@iftex
+This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
+@end iftex
+@ifnottex
This is the @cite{GNU Emacs Manual},
+@end ifnottex
updated for Emacs version @value{EMACSVER}.
Copyright @copyright{} 1985--1987, 1993--2019 Free Software Foundation, Inc.
@@ -64,7 +82,7 @@ developing GNU and promoting software freedom.''
@sp 6
@center @titlefont{GNU Emacs Manual}
@sp 4
-@center Updated for Emacs Version @value{EMACSVER}
+@center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
@sp 5
@center Richard Stallman et al.
@page
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 9ad4cf102e3..489ba8d6ef8 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -63,6 +63,10 @@
\global\hbadness=6666 % don't worry about not-too-underfull boxes
@end tex
+@c These refer to the printed book sold by the FSF.
+@set edition-number 3.10
+@set update-date 28 October 2009
+
@c For next or subsequent edition:
@c create function using with-output-to-temp-buffer
@c create a major mode, with keymaps
@@ -102,6 +106,9 @@
This is @cite{An Introduction to Programming in Emacs Lisp}, for
people who are not programmers.
@sp 1
+@iftex
+Edition @value{edition-number}, @value{update-date}
+@end iftex
@ifnottex
Distributed with Emacs version @value{EMACSVER}.
@end ifnottex
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 652175c3952..d667c51d788 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -52,7 +52,12 @@
@end ifset
@end tex
+
+@c Version of the manual and of Emacs.
+@c (See comments for EDITION in emacs.texi)
+@set VERSION 3.1
@include emacsver.texi
+@set DATE October 2014
@c in general, keep the following line commented out, unless doing a
@c copy of this manual that will be published. The manual should go
@@ -86,7 +91,12 @@
@c @syncodeindex tp fn
@copying
-This is the @cite{GNU Emacs Lisp Reference Manual},
+@iftex
+This is edition @value{VERSION} of the @cite{GNU Emacs Lisp Reference Manual},@*
+@end iftex
+@ifnottex
+This is the @cite{GNU Emacs Lisp Reference Manual}
+@end ifnottex
corresponding to Emacs version @value{EMACSVER}.
Copyright @copyright{} 1990--1996, 1998--2019 Free Software Foundation, Inc.
@@ -117,6 +127,7 @@ developing GNU and promoting software freedom.''
@subtitle @value{voltitle}
@end ifset
@subtitle For Emacs Version @value{EMACSVER}
+@subtitle Revision @value{VERSION}, @value{DATE}
@author by Bil Lewis, Dan LaLiberte, Richard Stallman,
@author the GNU Manual Group, et al.