Function: smart-apropos
smart-apropos is an interactive and byte-compiled function defined in
hui-mouse.el.
Signature
(smart-apropos)
Documentation
Move through UNIX man apropos listings by using one key or mouse key.
Invoked via a key press when in unix-apropos-mode. It assumes that
its caller has already checked that the key was pressed in an appropriate
buffer and has moved the cursor to the selected buffer.
If key is pressed:
(1) on a UNIX man apropos entry, the man page for that entry is displayed in
another window;
(2) on or after the last line, the buffer in the other window is scrolled up
a windowful.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
;;; ************************************************************************
;;; smart-man functions
;;; ************************************************************************
;; "man-apropos.el" which contains the unix-apropos functions below is a
;; part of InfoDock; these functions are not called unless this
;; library has been loaded and is in use. It generates a buffer of apropos
;; listing and allows selection and associated man page display.
;;
;; Man page cross-references in Emacs man buffers are handled
;; separately via the 'man-apropos' implicit button type.
;;
(defun smart-apropos ()
"Move through UNIX man apropos listings by using one key or mouse key.
Invoked via a key press when in `unix-apropos-mode'. It assumes that
its caller has already checked that the key was pressed in an appropriate
buffer and has moved the cursor to the selected buffer.
If key is pressed:
(1) on a UNIX man apropos entry, the man page for that entry is displayed in
another window;
(2) on or after the last line, the buffer in the other window is scrolled up
a windowful."
(interactive)
(if (last-line-p)
(scroll-other-window)
;; Called only if man-apropos.el of InfoDock is loaded
(when (fboundp #'unix-apropos-get-man)
(unix-apropos-get-man))))