emacs-devel
[Top][All Lists]
Advanced

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

Re: windows installer


From: Phillip Lord
Subject: Re: windows installer
Date: Sat, 25 Nov 2017 11:08:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Phillip Lord) Cc:
>> address@hidden, address@hidden,
>> address@hidden Date: Fri, 24 Nov 2017 19:13:31 +0000
>> 
>> > Yes, we need a name that is not nil.
>> 
>> So something like this:
>> 
>> (defconst emacs-build-system
>>           (if (file-exists-p "~/.emacs-build-system-name")
>>               (with-temp-buffer
>>                 (insert-file-contents "~/.emacs-build-system-name")
>>                 (buffer-string))
>>              (system-name)))
>
> Where do you want to put this?  Are you going to patch the sources
> from which you produce the binaries?

master


>> The defconst is set at byte-compilation time right?
>> That's why
>> 
>> (defconst emacs-build-system (system-name)
>>   "Name of the system on which Emacs was built, or nil if not available.")
>> 
>> Returns the build-system rather than the current?
>
> No, it's set at loadup time, when version.elc is loaded into temacs.

Oh, yes, of course.

Phil



reply via email to

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