Variable: tab-bar-select-restore-context

tab-bar-select-restore-context is a customizable variable defined in tab-bar.el.gz.

Value

t

Documentation

If this is non-nil, try to restore window points from their contexts.

This will try to find the same position in every window where point was before switching away from this tab. After selecting this tab, point in every window will be moved to its previous position in the buffer even when the buffer was modified.

This variable was added, or its default value changed, in Emacs 30.1.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defcustom tab-bar-select-restore-context t
  "If this is non-nil, try to restore window points from their contexts.
This will try to find the same position in every window where point was
before switching away from this tab.  After selecting this tab,
point in every window will be moved to its previous position
in the buffer even when the buffer was modified."
  :type 'boolean
  :group 'tab-bar
  :version "30.1")