Function: help-do-xref

help-do-xref is a byte-compiled function defined in help-mode.el.gz.

Signature

(help-do-xref POS FUNCTION ARGS)

Documentation

Call the help cross-reference function FUNCTION with args ARGS.

Things are set up properly so that the resulting help buffer has a proper [back] button.

Source Code

;; Defined in /usr/src/emacs/lisp/help-mode.el.gz
(defun help-do-xref (_pos function args)
  "Call the help cross-reference function FUNCTION with args ARGS.
Things are set up properly so that the resulting help buffer has
a proper [back] button."
  ;; There is a reference at point.  Follow it.
  (let ((help-xref-following t))
    (apply function (if (eq function 'info)
                        (append args (list (generate-new-buffer-name "*info*")))
                      args))))