Function: smart-info-assist
smart-info-assist is an autoloaded, interactive and byte-compiled
function defined in hmouse-info.el.
Signature
(smart-info-assist)
Documentation
Walk through Info documentation using one assist-key or mouse assist-key.
If assist-key is pressed within:
(1) the first line of an Info Menu Entry or Cross Reference, the desired node
is found;
(2) the Up, Next, or Previous entries of a Node Header (first line),
the last node in the history list is found;
(3) the File entry of a Node Header (first line),
the DIR root-level node is found;
(4) at the end of the current node, the Previous node is found (this will
return from subtrees if the function Info-global-prev is bound);
(5) anywhere else (e.g. at the end of a line), the current node entry is
scrolled down one windowful.
Returns t if assist-key is pressed within an Info Node Header, Cross Reference, or a Menu; otherwise returns nil.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-info.el
;;;###autoload
(defun smart-info-assist ()
"Walk through Info documentation using one assist-key or mouse assist-key.
If assist-key is pressed within:
(1) the first line of an Info Menu Entry or Cross Reference, the desired node
is found;
(2) the Up, Next, or Previous entries of a Node Header (first line),
the last node in the history list is found;
(3) the File entry of a Node Header (first line),
the `DIR' root-level node is found;
(4) at the end of the current node, the Previous node is found (this will
return from subtrees if the function `Info-global-prev' is bound);
(5) anywhere else (e.g. at the end of a line), the current node entry is
scrolled down one windowful.
Returns t if assist-key is pressed within an Info Node Header, Cross Reference,
or a Menu; otherwise returns nil."
(interactive)
(cond
;;
;; If at end or beginning of node, go to previous node
;;
((last-line-p)
(Info-prev))
((and (mouse-event-p assist-key-release-args)
(let ((opoint (point)))
(Info-mouse-follow-link assist-key-release-args)
(/= opoint (point)))))
((and (not (mouse-event-p assist-key-release-args))
(Info-handle-in-node-hdr-assist)))
((Info-handle-in-note))
((Info-handle-in-menu))
((pos-visible-in-window-p (point-min))
(Info-prev))
;;
;; If anywhere else, scroll backward a windowful.
;;
((smart-scroll-down))))