emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient ccac95e5a8 112/366: transient-show-help: Don'


From: Jonas Bernoulli
Subject: [elpa] externals/transient ccac95e5a8 112/366: transient-show-help: Don't error if argument is missing
Date: Tue, 25 Jan 2022 18:54:32 -0500 (EST)

branch: externals/transient
commit ccac95e5a826363b4b568b2e6cffc07fde2ccce2
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient-show-help: Don't error if argument is missing
    
    The `argument' slot may be unbound for somewhat unusual infix
    arguments.  In that case just stay at the beginning of the buffer
    instead of raising an error.
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 32c02278aa..f844e843d6 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2779,7 +2779,7 @@ Show the first one that is specified."
 If the manpage is specified, then try to jump to the correct
 location."
   (if-let ((manpage (oref transient--prefix man-page)))
-      (transient--show-manpage manpage (oref obj argument))
+      (transient--show-manpage manpage (ignore-errors (oref obj argument)))
     (transient--describe-function this-original-command)))
 
 ;; `cl-generic-generalizers' doesn't support `command' et al.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]