chiark / gitweb /
dot/emacs: Save minibuffer history, and retain more of it.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 25 Jun 2017 18:02:25 +0000 (19:02 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 25 Jun 2017 18:02:25 +0000 (19:02 +0100)
dot/emacs

index 4fb237a22eb4445a8af5c2895406a7e8e3c79dcb..4107fda1b8391f37036bc33dc39822a3d5ce082e 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
                      (and edit
                           (set-process-query-on-exit-flag edit nil)))))))
 
+;; Saving state.
+
+(or mdw-fast-startup (savehist-mode 1))
+(setq history-length 200)
+
 ;; Control backup behaviour.
 
 (setq backup-by-copying nil)