From: Mauro Aranda Date: Fri, 5 Mar 2021 13:18:32 +0000 (+0100) Subject: Fix qualifiers order for loadhist-unload-element in elp.el X-Git-Tag: emacs-28.0.90~3430 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51e78e91464601fc9adef1ca9c1c5ff0a23043ef;p=emacs.git 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). --- diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el index cc2927caf40..411ea2af69c 100644 --- a/lisp/emacs-lisp/elp.el +++ b/lisp/emacs-lisp/elp.el @@ -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)))