bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#46917: 28.0.50; error when unloading feature after loading elp


From: Lars Ingebrigtsen
Subject: bug#46917: 28.0.50; error when unloading feature after loading elp
Date: Thu, 04 Mar 2021 21:17:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Mauro Aranda <maurooaranda@gmail.com> writes:

>> Starting from emacs -Q, do:
>>
>> 1. In the *scratch* buffer, type and evaluate (in any order):
>> (require 'autoarg) ; Whatever feature.
>> (require 'elp)
>>
>> 2. Type and evaluate
>> (unload-feature 'autoarg)
>>
>> 3. Emacs signals an error:
>> "Unsupported qualifiers in function loadhist-unload-element:
>> (:before :extra \"elp\")"
>>
>
> Looks like the problem is the order of the qualifiers; the attached
> patch should fix it.

[...]

> * lisp/emacs-lisp/elp.el (loadhist-unload-element): The :extra
> qualifier is expected to come before the other qualifiers, so do
> that.  (Bug#46917)

I had a quick look at the documentation -- this limitation doesn't seem
to be stated anywhere?  Perhaps it should be, or perhaps the restriction
should be lifted?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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