diff options
-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)) |