home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 928d113a856fcd23c5d6c496a66e4b68428e12a8
parent 934b46652d9cee70f42e14e957edbead94108043
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 16 Nov 2023 18:56:00 +0100

tools/emacs: fix savehist

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-buffers.el | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/config-buffers.el b/tools/emacs/config/config-buffers.el @@ -6,9 +6,12 @@ (use-package savehist :unless noninteractive + :init + (setq savehist-file (no-littering-expand-var-file-name "savehist")) :config (setq-default history-length 10000 savehist-save-minibuffer-history t + savehist-delete-duplicates t savehist-autosave-interval 180 savehist-additional-variables '(extended-command-history search-ring