emacs-devel
[Top][All Lists]
Advanced

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

Re: (emacs-version) in the Elisp reference


From: Jean-Christophe Helary
Subject: Re: (emacs-version) in the Elisp reference
Date: Wed, 21 Jun 2017 04:56:38 +0900

> On Jun 21, 2017, at 0:29, Eli Zaretskii <address@hidden> wrote:

>> In node 1.4, (emacs-version) is seen as evaluating to:
>> 
>> "GNU Emacs 26.1 (build 1, x86_64-unknown-linux-gnu,
>>                       GTK+ Version 3.16) of 2017-06-01"
>> 
>> How can that be since HEAD is at 26.0.50 ?
> 
> The manual is evidently already ready for the first release of Emacs 26.

Yes, but that's weird to hard code it since a few lines higher there is:

This is
@iftex
edition @value{VERSION} of
@end iftex
the @cite{GNU Emacs Lisp Reference Manual},
corresponding to Emacs version @value{EMACSVER}.

(why not hard code it here?)

And also a few lines below there is:

@defvar emacs-major-version
The major version number of Emacs, as an integer.  For Emacs version
23.1, the value is 23.
@end defvar

@defvar emacs-minor-version
The minor version number of Emacs, as an integer.  For Emacs version
23.1, the value is 1.
@end defvar

(why hardcode values that do not correspond to the current manual?)

Jean-Christophe 



reply via email to

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