Function: help-insert-xref-button

help-insert-xref-button is an autoloaded and byte-compiled function defined in help-mode.el.gz.

Signature

(help-insert-xref-button STRING TYPE &rest ARGS)

Documentation

Insert STRING and make a hyperlink from cross-reference text on it.

TYPE is the type of button to use. Any remaining arguments are passed to the button's help-function when it is invoked. See help-make-xrefs.

Source Code

;; Defined in /usr/src/emacs/lisp/help-mode.el.gz
;;;###autoload
(defun help-insert-xref-button (string type &rest args)
  "Insert STRING and make a hyperlink from cross-reference text on it.
TYPE is the type of button to use.  Any remaining arguments are passed
to the button's help-function when it is invoked.
See `help-make-xrefs'."
  (unless (button-at (point))
    (insert-text-button string 'type type 'help-args args)))