Function: Info-menu-item-at-p
Info-menu-item-at-p is an autoloaded and byte-compiled function
defined in hmouse-info.el.
Signature
(Info-menu-item-at-p)
Documentation
Return the name of the Info menu item at point, or nil if none.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-info.el
;;;###autoload
(defun Info-menu-item-at-p ()
"Return the name of the Info menu item at point, or nil if none."
(let ( ;; If point is within a menu item, use that item as the default
(p (point))
beg
(case-fold-search t))
(save-excursion
(goto-char (point-min))
(when (search-forward "\n* menu:" nil t)
(setq beg (point))
(and (< (point) p)
(save-excursion
(goto-char p)
(end-of-line)
(if (re-search-backward (concat "\n\\* +\\("
Info-menu-entry-name-re
"\\):")
beg t)
(match-string-no-properties 1))))))))