You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
299 B
EmacsLisp
12 lines
299 B
EmacsLisp
2 years ago
|
(require 'savehist)
|
||
|
|
||
|
(setq savehist-file (expand-file-name "savehist" user-emacs-directory)
|
||
|
savehist-save-minibuffer-history t)
|
||
|
|
||
|
(add-to-list 'savehist-additional-variables 'command-history)
|
||
|
|
||
|
(unless (file-exists-p savehist-file)
|
||
|
(make-empty-file savehist-file))
|
||
|
|
||
|
(provide 'config-savehist)
|