From 6fac8a28da9bf30da71941340505c2316d0db5a3 Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 7 Oct 2022 03:10:21 -0400 Subject: changed the config-* prefix to init-* for all of the init files --- init/savehist/init-savehist.el | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 init/savehist/init-savehist.el (limited to 'init/savehist/init-savehist.el') diff --git a/init/savehist/init-savehist.el b/init/savehist/init-savehist.el new file mode 100644 index 0000000..7e6e311 --- /dev/null +++ b/init/savehist/init-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 'init-savehist) -- cgit v1.2.3