Function: actypes::link-to-Info-index-item
actypes::link-to-Info-index-item is an interactive and byte-compiled
function defined in hactypes.el.
Signature
(actypes::link-to-Info-index-item INDEX-ITEM)
Documentation
Display an Info index INDEX-ITEM cross-reference.
INDEX-ITEM must be a string of the form "(filename)item-name". During button creation, completion for both filename and item-name is available. Filename may be given without the .info suffix.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hactypes.el
(defact link-to-Info-index-item (index-item)
"Display an Info index INDEX-ITEM cross-reference.
INDEX-ITEM must be a string of the form \"(filename)item-name\".
During button creation, completion for both filename and
item-name is available. Filename may be given without the .info
suffix."
(interactive "+XInfo (file)index-item-name to link to: ")
(require 'info)
(when (stringp index-item)
;; Remove any tabs or newlines that might be in index-item.
(setq index-item (replace-regexp-in-string "[ \t\n\r\f]+" " " index-item t t)))
(if (and (stringp index-item) (string-match "^(\\([^\)]+\\))\\(.*\\)" index-item))
(id-info-item index-item)
(hypb:error "(link-to-Info-index-entry): Invalid Info index item: `%s'" index-item)))