[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient e17e2b2f6d 276/366: transient-show-help: Twea
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient e17e2b2f6d 276/366: transient-show-help: Tweak self-suffixes |
Date: |
Tue, 25 Jan 2022 18:54:47 -0500 (EST) |
branch: externals/transient
commit e17e2b2f6d7cdf2e27729fd28e3d7600b76ad24a
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient-show-help: Tweak self-suffixes
If a command is called as a suffix of itself, then show the function
definition instead of the man-page as we usually do for prefixes.
---
lisp/transient.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index a04d9578ef..4cbc421cf3 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3265,7 +3265,8 @@ Show the first one that is specified."
(transient--show-manpage manpage)
(transient--describe-function (oref transient--prefix command)))
(if-let ((prefix (get (transient--suffix-command obj) 'transient--prefix))
- (manpage (oref prefix man-page)))
+ (manpage (oref prefix man-page))
+ (_ (not (eq this-command (oref transient--prefix command)))))
(transient--show-manpage manpage)
(transient--describe-function this-original-command))))
- [elpa] externals/transient a35177475c 200/366: transient-suffixes: New function, (continued)
- [elpa] externals/transient a35177475c 200/366: transient-suffixes: New function, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient d76f73f884 205/366: transient-arg-value: New function, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 0d79ccfaf8 218/366: transient--parse-suffix: Don't fallback to read-string for options, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 94582a3fd9 228/366: license: Update URLs and cleanup whitespace, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 6af9f8c3c0 254/366: Backport commit 12bab20920 from Emacs, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient b47e9d7d76 256/366: Release version 0.3.4, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient b711543401 261/366: Release version 0.3.5, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 99e48369a5 269/366: transient--invalid: Add heisenbug catcher, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient e90481000f 271/366: Explicitly call transient--pre-command in button action, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient efdf91980a 273/366: transient--goto-button: Anchor headings, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient e17e2b2f6d 276/366: transient-show-help: Tweak self-suffixes,
Jonas Bernoulli <=
- [elpa] externals/transient be119ee43f 278/366: Export variables for transient non-infix suffixes, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 022f20e958 283/366: Explicitly require edmacro, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 09c911e621 299/366: transient--show-manual: New function, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 222637523a 302/366: transient-show-help: Refactor and improve, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient c9ab648e5b 304/366: transient--show-help: Update doc-strings, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 349116159f 308/366: manual: Use Org macros, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient e57d1e176b 313/366: make: Cosmetics, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient daa22e7632 317/366: manual: Downcase keywords, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 1cdadfddf8 340/366: manual: Use source block, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient c2875e705a 362/366: transient--delay-post-command: Add debug statement, Jonas Bernoulli, 2022/01/25