[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4568: version test in .elc files is too complicated
From: |
Dan Nicolaescu |
Subject: |
bug#4568: version test in .elc files is too complicated |
Date: |
Sun, 27 Sep 2009 19:10:11 -0700 (PDT) |
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.
- bug#4568: version test in .elc files is too complicated,
Dan Nicolaescu <=