branch: externals/transient
commit 3b780a10e60cbc0b9cc89d70a9633fd7f40b4eea
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    transient--group-member: Rename a local variable
---
 lisp/transient.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index c6c6cffbbc..a2ee2af246 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1636,11 +1636,11 @@ See info node `(transient)Modifying Existing 
Transients'."
 (defun transient--group-member (loc group)
   (cl-member-if (lambda (suffix)
                   (and (listp suffix)
-                       (let* ((def (nth 2 suffix))
-                              (cmd (plist-get def :command)))
+                       (let* ((plist (nth 2 suffix))
+                              (cmd (plist-get plist :command)))
                          (if (symbolp loc)
                              (eq cmd loc)
-                           (equal (kbd (or (plist-get def :key)
+                           (equal (kbd (or (plist-get plist :key)
                                            (transient--command-key cmd)))
                                   loc)))))
                 (aref group 3)))

Reply via email to