diff options
author | John Turner <jturner.usa@gmail.com> | 2022-07-03 21:29:51 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2022-07-03 21:29:51 -0400 |
commit | e6b5e17a394cc8fdd827670b8fa1a81043c8a951 (patch) | |
tree | 30754c43c34a336053f893fa26ba8bf3b1876669 /config/savehist | |
download | emacs.d-e6b5e17a394cc8fdd827670b8fa1a81043c8a951.tar.gz |
init
Diffstat (limited to 'config/savehist')
-rw-r--r-- | config/savehist/config-savehist.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/savehist/config-savehist.el b/config/savehist/config-savehist.el new file mode 100644 index 0000000..7a1cc40 --- /dev/null +++ b/config/savehist/config-savehist.el @@ -0,0 +1,11 @@ +(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) |