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

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

[elpa] externals/transient 09c911e 03/11: transient--show-manual: New fu


From: Jonas Bernoulli
Subject: [elpa] externals/transient 09c911e 03/11: transient--show-manual: New function
Date: Thu, 4 Nov 2021 21:02:17 -0400 (EDT)

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 b83cd7d..558ffd2 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]