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: John Wiegley
Subject: Re: Warning on files byte-compiled with different versions
Date: Fri, 19 Feb 2016 18:29:10 -0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

>>>>> Stefan Monnier <address@hidden> writes:

>> 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.

I'd personally appreciate having a warning like this, since it would let me
know that part of my environment is not built the way I thought it was.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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