1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix qualifiers order for loadhist-unload-element in elp.el

* lisp/emacs-lisp/elp.el (loadhist-unload-element): The :extra
qualifier is expected to come before the other qualifiers, so do
that (bug#46917).
This commit is contained in:
Mauro Aranda 2021-03-05 14:18:32 +01:00 committed by Lars Ingebrigtsen
parent 57758dcbac
commit 51e78e9146

View file

@ -583,7 +583,7 @@ displayed."
;; continue standard unloading
nil)
(cl-defmethod loadhist-unload-element :before :extra "elp" ((x (head defun)))
(cl-defmethod loadhist-unload-element :extra "elp" :before ((x (head defun)))
"Un-instrument before unloading a function."
(elp-restore-function (cdr x)))