Function: xref-global-history

xref-global-history is a byte-compiled function defined in xref.el.gz.

Signature

(xref-global-history &optional NEW-VALUE)

Documentation

Return the xref history that is global for the current Emacs session.

Override existing value with NEW-VALUE if NEW-VALUE is set.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/xref.el.gz
(defun xref-global-history (&optional new-value)
  "Return the xref history that is global for the current Emacs session.

Override existing value with NEW-VALUE if NEW-VALUE is set."
  (if new-value
      (setq xref--history new-value)
    xref--history))