Function: id-info-item
id-info-item is a byte-compiled function defined in hversion.el.
Signature
(id-info-item INDEX-ITEM)
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hversion.el
(defun id-info-item (index-item)
(if (stringp index-item)
(progn (let ((wind (get-buffer-window "*info*")))
(cond (wind (select-window wind))
((br-in-browser) (br-to-view-window))
(t (hpath:display-buffer (other-buffer)))))
;; Force execution of Info-mode-hook which adds the
;; Hyperbole man directory to Info-directory-list.
(info)
(if (string-match "^(\\([^)]+\\))\\(.*\\)" index-item)
(let ((file (match-string-no-properties 1 index-item))
(item-name (match-string-no-properties 2 index-item)))
(if (and file (setq file (hpath:substitute-value file)))
(progn (Info-goto-node (concat "(" file ")"))
(Info-index item-name))
(Info-goto-node "(hyperbole)")
(Info-index index-item))
;; Index may point to indented line immediately
;; after the non-indented item definition line. If
;; so, move back a line.
(when (and (looking-at "^[ \t]")
(looking-back "^[^ \t].*[\n\r]+" nil))
(forward-line -1))
(recenter 0))
(error "(id-info-item): Invalid Info index item: `%s'" index-item)))
(error "(id-info-item): Info index item must be a string: `%s'" index-item)))