diff options
author | Case Duckworth | 2021-05-12 16:42:36 -0500 |
---|---|---|
committer | Case Duckworth | 2021-05-12 16:42:36 -0500 |
commit | 2341f0bac30a4206209639e7b25431723fe6e715 (patch) | |
tree | 61c63c08e0499465c5f099b04719985f89681bf7 | |
parent | Unbind <Help> h (diff) | |
download | emacs-2341f0bac30a4206209639e7b25431723fe6e715.tar.gz emacs-2341f0bac30a4206209639e7b25431723fe6e715.zip |
Save more variables
-rw-r--r-- | init.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/init.el b/init.el index b8951a0..bc61a28 100644 --- a/init.el +++ b/init.el | |||
@@ -486,12 +486,15 @@ | |||
486 | (setup (:require savehist) | 486 | (setup (:require savehist) |
487 | (:option history-length t | 487 | (:option history-length t |
488 | history-delete-duplicates t | 488 | history-delete-duplicates t |
489 | savehist-autosave-interval 6 | 489 | savehist-autosave-interval 60 |
490 | savehist-file (acdw/dir "savehist.el")) | 490 | savehist-file (acdw/dir "savehist.el")) |
491 | 491 | ||
492 | (dolist (var '(kill-ring | 492 | (dolist (var '(extended-command-history |
493 | global-mark-ring | ||
494 | kill-ring | ||
495 | regexp-search-ring | ||
493 | search-ring | 496 | search-ring |
494 | regexp-search-ring)) | 497 | mark-ring)) |
495 | (:option (append savehist-additional-variables) var)) | 498 | (:option (append savehist-additional-variables) var)) |
496 | 499 | ||
497 | (savehist-mode +1)) | 500 | (savehist-mode +1)) |