emacs-devel
[Top][All Lists]
Advanced

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

Re: User-defined record types, v3


From: Lars Brinkhoff
Subject: Re: User-defined record types, v3
Date: Tue, 04 Apr 2017 14:32:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Clément Pit-Claudel wrote:
> Is there a way for Lisp programs to read the version tag of an ELC
> file before loading it?

I haven't looked to see if there's a ready-made function for this.  The
code in src/lread.c just looks at the fourth byte of the first line.
Then it checks that a certain regexp is present near the beginning of
the file.




reply via email to

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