[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 9b6a251 04/11: transient-show-help: Avoid thi
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 9b6a251 04/11: transient-show-help: Avoid this-original-command |
Date: |
Thu, 4 Nov 2021 21:02:17 -0400 (EDT) |
branch: externals/transient
commit 9b6a251f5ca7400e97d904edfc7cb09852d34ba9
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient-show-help: Avoid this-original-command
Using `this-original-command' would suggests that the value
of `this-command' may have changed but that isn't the case.
---
lisp/transient.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 558ffd2..584dc16 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3295,7 +3295,7 @@ Show the first one that is specified."
(manpage (oref prefix man-page))
(- (not (eq this-command (oref transient--prefix command)))))
(transient--show-manpage manpage)
- (transient--describe-function this-original-command))))
+ (transient--describe-function this-command))))
(cl-defmethod transient-show-help ((obj transient-infix))
"Show the manpage if defined or the command doc-string.
@@ -3303,7 +3303,7 @@ 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 (ignore-errors (oref obj argument)))
- (transient--describe-function this-original-command)))
+ (transient--describe-function this-command)))
;; `cl-generic-generalizers' doesn't support `command' et al.
(cl-defmethod transient-show-help (cmd)
- [elpa] externals/transient updated (74cba5a -> 7f5520b), Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 938b059 01/11: transient--show: Set point after displaying window again, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 6276927 02/11: transient--describe-function: Move definition, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 09c911e 03/11: transient--show-manual: New function, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 2226375 06/11: transient-show-help: Refactor and improve, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 667488e 09/11: Extend multi-value support, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient ea5ac99 07/11: transient-show-help: Support per-object help functions, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient c9ab648 08/11: transient--show-help: Update doc-strings, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 9b6a251 04/11: transient-show-help: Avoid this-original-command,
Jonas Bernoulli <=
- [elpa] externals/transient df1ba0f 05/11: transient-show-help: Cosmetics, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 202271f 10/11: Resurrect transient-files class, Jonas Bernoulli, 2021/11/04
- [elpa] externals/transient 7f5520b 11/11: Add support for non-proportional text, Jonas Bernoulli, 2021/11/04