From 2c14aa3d97dd1aa9e49624fae97bdcb074b5c008 Mon Sep 17 00:00:00 2001 From: Francis Begyn Date: Mon, 27 May 2024 23:05:27 +0200 Subject: [PATCH] (emacs) savehist is built in normally --- users/francis/hm/configurations/emacs/base-init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/users/francis/hm/configurations/emacs/base-init.el b/users/francis/hm/configurations/emacs/base-init.el index 315a0b2..7aa5365 100644 --- a/users/francis/hm/configurations/emacs/base-init.el +++ b/users/francis/hm/configurations/emacs/base-init.el @@ -161,6 +161,9 @@ ;; mode. Vertico commands are hidden in normal buffers. This setting is ;; useful beyond Vertico. (setq read-extended-command-predicate #'command-completion-default-include-p) + + ;; better history provision + (savehist-mode) ) @@ -307,10 +310,6 @@ ;; Optionally enable cycling for `vertico-next' and `vertico-previous'. ;; (setq vertico-cycle t) ) -;; Persist history over Emacs restarts. Vertico sorts by history position. -(use-package savehist - :init - (savehist-mode)) (use-package orderless :ensure t