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

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

[elpa] externals/transient 09c911e621 299/366: transient--show-manual: N


From: Jonas Bernoulli
Subject: [elpa] externals/transient 09c911e621 299/366: transient--show-manual: New function
Date: Tue, 25 Jan 2022 18:54:49 -0500 (EST)

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

    transient--show-manual: New function
---
 lisp/transient.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index b83cd7d608..558ffd22e6 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3280,7 +3280,7 @@ a prefix command, while porting a regular keymap to a 
transient."
   "Show the info manual, manpage or command doc-string.
 Show the first one that is specified."
   (if-let ((manual (oref obj info-manual)))
-      (info manual)
+      (transient--show-manual manual)
     (if-let ((manpage (oref obj man-page)))
         (transient--show-manpage manpage)
       (transient--describe-function (oref obj command)))))
@@ -3314,6 +3314,9 @@ location."
   (describe-function fn)
   (select-window (get-buffer-window (help-buffer))))
 
+(defun transient--show-manual (manual)
+  (info manual))
+
 (defun transient--show-manpage (manpage &optional argument)
   (require 'man)
   (let* ((Man-notify-method 'meek)



reply via email to

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