Variable: savehist-file
savehist-file is a customizable variable defined in savehist.el.gz.
Value
"~/.emacs.d/history"
Documentation
File name where minibuffer history is saved to and loaded from.
The minibuffer history is a series of Lisp expressions loaded
automatically when Savehist mode is turned on. See savehist-mode(var)/savehist-mode(fun)
for more details.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/savehist.el.gz
(defcustom savehist-file
(locate-user-emacs-file "history" ".emacs-history")
"File name where minibuffer history is saved to and loaded from.
The minibuffer history is a series of Lisp expressions loaded
automatically when Savehist mode is turned on. See `savehist-mode'
for more details."
:type 'file)