Variable: xref-history-storage
xref-history-storage is a customizable variable defined in xref.el.gz.
Value
xref-global-history
Documentation
Function that returns xref history.
The following functions that can be used as this variable's value are predefined:
- xref-global-history
Return a single, global history used across the entire Emacs
session. This is the default.
- xref-window-local-history
Return separate xref histories, one per window. Allows
independent navigation of code in each window. A new
xref history is created for every new window.
This variable was added, or its default value changed, in xref version
1.6.0.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/xref.el.gz
(defcustom xref-history-storage #'xref-global-history
"Function that returns xref history.
The following functions that can be used as this variable's value
are predefined:
- `xref-global-history'
Return a single, global history used across the entire Emacs
session. This is the default.
- `xref-window-local-history'
Return separate xref histories, one per window. Allows
independent navigation of code in each window. A new
xref history is created for every new window."
:type '(radio
(function-item :tag "Per-window history" xref-window-local-history)
(function-item :tag "Global history for Emacs session"
xref-global-history)
(function :tag "Other"))
:version "29.1"
:package-version '(xref . "1.6.0"))