diff options
author | Franck Cuny <franck@fcuny.net> | 2024-08-31 11:53:56 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-08-31 11:53:56 -0700 |
commit | d8682042d5ee79bb7bb46d5e12bb4116aba55030 (patch) | |
tree | f622eee6c3d80ba0d16611750e8ddab13368aef3 | |
parent | more configuration changes for org-mode (diff) | |
download | emacs.d-d8682042d5ee79bb7bb46d5e12bb4116aba55030.tar.gz |
update configuration for `savehist`
-rw-r--r-- | config/init-base.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/init-base.el b/config/init-base.el index d2c83cd..8c843f2 100644 --- a/config/init-base.el +++ b/config/init-base.el @@ -44,7 +44,13 @@ (recentf-mode t)) (use-package savehist + :ensure nil + :hook (after-init . savehist-mode) :config + (setq savehist-file (locate-user-emacs-file "savehist")) + (setq history-length 100) + (setq history-delete-duplicates t) + (setq savehist-save-minibuffer-history t) (savehist-mode t)) (use-package saveplace |