diff options
Diffstat (limited to 'lisp/+emacs.el')
-rw-r--r-- | lisp/+emacs.el | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lisp/+emacs.el b/lisp/+emacs.el index 7c8a1a6..533d438 100644 --- a/lisp/+emacs.el +++ b/lisp/+emacs.el | |||
@@ -326,13 +326,24 @@ ARG is passed to `backward-kill-word'." | |||
326 | (setq-default history-length t | 326 | (setq-default history-length t |
327 | history-delete-duplicates t | 327 | history-delete-duplicates t |
328 | history-autosave-interval 60 | 328 | history-autosave-interval 60 |
329 | savehist-file (.etc "savehist.el")) | 329 | savehist-file (.etc "savehist.el") |
330 | ;; Other variables --- don't truncate any of these. | ||
331 | ;; `add-to-history' uses the values of these variables unless | ||
332 | ;; they're nil, in which case it falls back to `history-length'. | ||
333 | kill-ring-max 100 | ||
334 | mark-ring-max 100 | ||
335 | global-mark-ring-max 100 | ||
336 | regexp-search-ring-max 100 | ||
337 | search-ring-max 100 | ||
338 | kmacro-ring-max 100 | ||
339 | eww-history-limit 100) | ||
330 | (dolist (var '(extended-command-history | 340 | (dolist (var '(extended-command-history |
331 | global-mark-ring | 341 | global-mark-ring |
342 | mark-ring | ||
332 | kill-ring | 343 | kill-ring |
344 | kmacro-ring | ||
333 | regexp-search-ring | 345 | regexp-search-ring |
334 | search-ring | 346 | search-ring)) |
335 | mark-ring)) | ||
336 | (add-to-list 'savehist-additional-variables var)) | 347 | (add-to-list 'savehist-additional-variables var)) |
337 | (savehist-mode +1)) | 348 | (savehist-mode +1)) |
338 | 349 | ||