diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2026-01-30 09:51:11 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2026-01-30 09:51:11 +0100 |
| commit | 250a3c34fd308ba4e51f0d5edf2e0b20edca3715 (patch) | |
| tree | 7f7eca272238a13b3e0b4845d0914eb969405bbe | |
| parent | bf92c1585326d4295a40367c93a7b7456113d7d7 (diff) | |
transient--match-button: Use key to match suffixes
Multiple suffixes may use the same command but not the same key.
| -rw-r--r-- | lisp/transient.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/transient.el b/lisp/transient.el index 5cbe8e0..c6591fe 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -5351,11 +5351,11 @@ See `forward-button' for information about N." (equal (string-trim-left (button-label (button-at (point)))) description)))))) (transient-suffix - (let ((command (oref object command))) + (let ((key (oref object key))) (lambda () (let ((obj (get-text-property (point) 'button-data))) (and (cl-typep obj 'transient-suffix) - (eq (oref obj command) command)))))))) + (eq (oref obj key) key)))))))) ;;; Compatibility ;;;; Menu Isearch |
