emacs-devel
[Top][All Lists]
Advanced

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

Re: Supporting multiline Package-Requires header


From: Artur Malabarba
Subject: Re: Supporting multiline Package-Requires header
Date: Wed, 12 Aug 2015 21:10:37 +0100

2015-08-12 18:18 GMT+01:00 Stefan Monnier <address@hidden>:
>> -    (let* ((requires-str (lm-header "package-requires"))
>> +    (let* ((requires-str (when-let ((reqs (lm-header-multiline
>> "package-requires")))
>> +                           (apply #'concat reqs)))
>
> Sounds good to me.  A similar change is probably needed somewhere in
> elpa.git's admin/*.el.
>
> I do wonder why lm-header doesn't just automatically handle
> multiline headers.

Backwards compatibility? We could have a new function for that, though
I can't think of a short name.



reply via email to

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