summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-20 14:50:23 +0200
committerGravatar Tom Willemse2014-04-20 14:50:23 +0200
commit6e1b09cd2d5cc2b131d6a8e51cff77c45d3f59fe (patch)
tree8eccdb0e8bb2e6954cb7a38b7412ac533976c17d
parentd8e47a68ef259725d02a79a1d2012e4274277c63 (diff)
downloademacs-6e1b09cd2d5cc2b131d6a8e51cff77c45d3f59fe.tar.gz
emacs-6e1b09cd2d5cc2b131d6a8e51cff77c45d3f59fe.zip
Move maximum log size setting to init.org
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/init.org11
2 files changed, 11 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 0855468..36ebfc7 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -910,7 +910,6 @@ from myaethon2.core.decorators import (
;;;; Unconditional settings
-(setq message-log-max 1000)
(setq redisplay-dont-pause t)
(setq use-dialog-box nil)
(setq user-full-name "Tom Willemse")
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 6a4b086..d2d1c2c 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -558,6 +558,17 @@
(setq-default tab-width 4)
#+END_SRC
+** Keep the message buffer from growing too large
+
+ Keep at most one-thousand messages in the ~*Messages*~ buffer. I can
+ leave my Emacs session running for quite long times, sometimes
+ days, at a time. If there are a lot of messages it can get a little
+ tricky to manage/search.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq message-log-max 1000)
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I