[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 51e78e9 1/2: Fix qualifiers order for loadhist-unload-element in
From: |
Lars Ingebrigtsen |
Subject: |
master 51e78e9 1/2: Fix qualifiers order for loadhist-unload-element in elp.el |
Date: |
Fri, 5 Mar 2021 08:29:23 -0500 (EST) |
branch: master
commit 51e78e91464601fc9adef1ca9c1c5ff0a23043ef
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
lisp/emacs-lisp/elp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index cc2927c..411ea2a 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)))