From 61fee32e4196f7dddf159371621080b669ee02b8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 3 Jul 2020 23:21:51 +0200 Subject: Preserve Emacs history across reloads --- gui/conf/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/conf/init.el b/gui/conf/init.el index ab076b1..9b5430f 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -28,6 +28,11 @@ (add-hook 'after-make-frame-functions #'startup) (startup (selected-frame))) +(savehist-mode 1) +(setq savehist-additional-variables + '(kill-ring search-ring)) +(setq savehist-file "~/.emacs.d/savehist") + (setq mouse-wheel-scroll-amount '(5)) (setq mouse-wheel-progressive-speed nil) (setq fast-but-imprecise-scrolling t) -- cgit v1.2.3