emacs-devel
[Top][All Lists]
Advanced

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

Re: Add zuul.el package to ELPA


From: Philip Kaludercic
Subject: Re: Add zuul.el package to ELPA
Date: Wed, 31 Aug 2022 14:43:54 +0000

Niklas Eklund <niklas.eklund@posteo.net> writes:

>>>  (require 'ansi-color)
>>>  (require 'comint)
>>> +(require 'compat)
>>> +(require 'compat-27)
>>> +(require 'compat-28)
>>
>> These two require statements aren't required, unless you depend on some
>> function that has been updated between versions (e.g. assoc used to only
>> take two arguments, and now takes 3, so to avoid overriding the old call
>> compat provides a prefixed alternative "compat-assoc").
>
> Alright, so only (require 'compat) then, and it will figure out that it
> needs functions from compat-27 or compat-28 internally?

No, loading compat will ensure that all missing definitions are loaded,
and compat-NM only loads prefixed definitions.



reply via email to

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