Variable: goto-line-history-local
goto-line-history-local is a customizable variable defined in
simple.el.gz.
Value
nil
Documentation
If this option is nil, goto-line-history is shared between all buffers.
If it is non-nil, each buffer has its own value of this history list.
Note that on changing from non-nil to nil, the former contents of
goto-line-history for each buffer are discarded on use of
goto-line in that buffer.
This variable was added, or its default value changed, in Emacs 28.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
;; Counting lines, one way or another.
(defcustom goto-line-history-local nil
"If this option is nil, `goto-line-history' is shared between all buffers.
If it is non-nil, each buffer has its own value of this history list.
Note that on changing from non-nil to nil, the former contents of
`goto-line-history' for each buffer are discarded on use of
`goto-line' in that buffer."
:group 'editing
:type 'boolean
:safe #'booleanp
:version "28.1")