summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/elp.el
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2021-03-05 14:18:32 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-03-05 14:18:32 +0100
commit51e78e91464601fc9adef1ca9c1c5ff0a23043ef (patch)
tree803b8d0a2faab799e293611cb915ed7319a3ac06 /lisp/emacs-lisp/elp.el
parent57758dcbac02d3477de7f1e30d3c53a9e647b9f3 (diff)
downloademacs-51e78e91464601fc9adef1ca9c1c5ff0a23043ef.tar.gz
emacs-51e78e91464601fc9adef1ca9c1c5ff0a23043ef.tar.bz2
emacs-51e78e91464601fc9adef1ca9c1c5ff0a23043ef.zip
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).
Diffstat (limited to 'lisp/emacs-lisp/elp.el')
-rw-r--r--lisp/emacs-lisp/elp.el2
1 files changed, 1 insertions, 1 deletions
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)))