[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 9b6a251f5c 300/366: transient-show-help: Avoi
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 9b6a251f5c 300/366: transient-show-help: Avoid this-original-command |
Date: |
Tue, 25 Jan 2022 18:54:49 -0500 (EST) |
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 558ffd22e6..584dc16f89 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 ef921d3048 258/366: transient--post-command: Deal with mystery quits, (continued)
- [elpa] externals/transient ef921d3048 258/366: transient--post-command: Deal with mystery quits, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient a9bdd013f9 259/366: transient-show-help: Use manpage of subprefixes, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 37684a8cf7 263/366: manual: use ox-texinfo's notoc support, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient cf5e58a3a7 267/366: make: Automatically set date in changelog, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient b2b375e848 275/366: transient-show-help: Avoid this-original-command, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient df13feff33 289/366: Remove various duplicated words, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ee8bdcfcee 290/366: Fix alias definition, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 6842305e84 286/366: Support undefined suffixes if an extra step is taken, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 0c2255a296 295/366: transient-get-value: Add an emergency exit, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 938b059192 297/366: transient--show: Set point after displaying window again, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 9b6a251f5c 300/366: transient-show-help: Avoid this-original-command,
Jonas Bernoulli <=
- [elpa] externals/transient 667488ebff 305/366: Extend multi-value support, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 202271f755 306/366: Resurrect transient-files class, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 4e8aa09b3f 309/366: transient-define-infix: Fix documentation, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient c26cbac574 316/366: transient-{init, set}-value: Use case-sensitive matching, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 338f7942a7 320/366: Various debug improvements, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 79c999d263 325/366: transient--post-exit: New function, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient e77d16dd02 322/366: transient--post-command: Avoid needlessly recreating redisplay map, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 7b8a7d718a 327/366: Use a more targeted approach to suspending transient override, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 3c78b10f52 333/366: transient--redisplay: Don't redisplay during mouse-drag-region, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient bf29731a72 332/366: transient--post-command: Don't pop and push equal redisplay maps, Jonas Bernoulli, 2022/01/25