From: Eshel Yaron Date: Tue, 14 Jan 2025 16:51:22 +0000 (+0100) Subject: (info-lookup-symbol): Add 'minibuffer-action'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff27eb5e04677fd00f35277e471e0a7ab1e554b9;p=emacs.git (info-lookup-symbol): Add 'minibuffer-action'. --- diff --git a/lisp/info-look.el b/lisp/info-look.el index 8a374d49175..e1e9e0708c3 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -299,6 +299,12 @@ popping up a new one." (info-lookup-interactive-arguments 'symbol current-prefix-arg)) (info-lookup 'symbol symbol mode same-window)) +(put 'info-lookup-symbol 'minibuffer-action + (cons (lambda (sym) + (with-current-buffer minibuffer--original-buffer + (info-lookup-symbol sym))) + "lookup")) + ;;;###autoload (put 'info-lookup-file 'info-file "emacs") ;;;###autoload (defun info-lookup-file (file &optional mode)