emacs-devel
[Top][All Lists]
Advanced

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

Re: Warning on files byte-compiled with different versions


From: Stefan Monnier
Subject: Re: Warning on files byte-compiled with different versions
Date: Sun, 14 Feb 2016 09:00:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> So, the answer is no, AFAICT. Second question, is there any reason why
> this kind of functionality could not be added?

Indeed.  The byte-compiler could simply emit

   `(if (< emacs-major-version ,emacs-major-version)
        (message "This file was compiled for a more recent Emacs"))

at the beginning of every file.  IIRC we used to do something like that.


        Stefan




reply via email to

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