From: Dan Nicolaescu <dann@ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs@gnu.org>
Subject: bug#4568: version test in .elc files is too complicated
Date: Sun, 27 Sep 2009 19:10:11 -0700 (PDT) [thread overview]
Message-ID: <200909280210.n8S2ABQb015443@godzilla.ics.uci.edu> (raw)
The version test in all the .elc files is too complicated:
(if (and (boundp 'emacs-version)
(< (aref emacs-version (1- (length emacs-version))) ?A)
(or (and (boundp 'epoch::version) epoch::version)
(string-lessp emacs-version "19.29")))
(error "`vc-hooks.el' was compiled for Emacs 19.29 or later"))
if anyone still runs epoch (very doubtful), there are many other things
that will fail when trying to run emacs-23 byte compiled code.
This was discussed on emacs-devel some time ago (can't find the link at
the moment), but nothing happened.
IMVHO a single condition based on emacs-major-version should be enough.
next reply other threads:[~2009-09-28 2:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-28 2:10 Dan Nicolaescu [this message]
2009-09-28 5:45 ` bug#4568: version test in .elc files is too complicated Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200909280210.n8S2ABQb015443@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=4568@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.