[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 7926f2b38c 1/3: transient--goto-button: Never
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 7926f2b38c 1/3: transient--goto-button: Never error if command at point disappears |
Date: |
Sat, 9 Nov 2024 14:17:28 -0500 (EST) |
branch: externals/transient
commit 7926f2b38c17ac5f901160261a604e6c40f8b311
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient--goto-button: Never error if command at point disappears
---
lisp/transient.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 7d2fb50a74..34cf0d6bf4 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -4463,7 +4463,7 @@ See `forward-button' for information about N."
(not (eq (button-get (button-at (point)) 'command) command))))
(unless (eq (button-get (button-at (point)) 'command) command)
(goto-char (point-min))
- (forward-button 1)))))
+ (ignore-errors (forward-button 1))))))
(defun transient--heading-at-point ()
(and (eq (get-text-property (point) 'face) 'transient-heading)