summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-10-01 00:03:04 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-10-01 00:03:04 -0700
commitb3a4c387c0e768de92b7969b2adb6670f10bda5d (patch)
treef61569d1cca482e2d6a21a3101fce81cbf0a7b1b
parentc47a6f4f7e72bb21b900cc699b1278ddbfab7c86 (diff)
downloademacs-b3a4c387c0e768de92b7969b2adb6670f10bda5d.tar.gz
* xdisp.c (syms_of_xdisp): Default message-log-max to 1000, not 100.
-rw-r--r--etc/NEWS2
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c2
3 files changed, 7 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2791a25e051..555f5cdf3f0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -160,6 +160,8 @@ On encountering a fatal error, Emacs now outputs a textual description
of the fatal signal, and a short backtrace on platforms like glibc
that support backtraces.
+** `message-log-max' now defaults to 1000, not 100.
+
---
** If your Emacs was built from a bzr checkout, the new variable
`emacs-bzr-version' contains information about the bzr revision used.
diff --git a/src/ChangeLog b/src/ChangeLog
index ec629fb9f10..41b2d24b968 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
+ * xdisp.c (syms_of_xdisp): Default message-log-max to 1000, not 100.
+ Suggested by Juri Linkov in
+ <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00821.html>.
+
Prefer plain 'static' to 'static inline' (Bug#12541).
With static functions, modern compilers inline pretty well by
themselves; advice from programmers often hurts as much as it helps.
diff --git a/src/xdisp.c b/src/xdisp.c
index cdb9fd4e3b5..635e7ecd0b2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -28986,7 +28986,7 @@ and is used only on frames for which no explicit name has been set
doc: /* Maximum number of lines to keep in the message log buffer.
If nil, disable message logging. If t, log messages but don't truncate
the buffer when it becomes large. */);
- Vmessage_log_max = make_number (100);
+ Vmessage_log_max = make_number (1000);
DEFVAR_LISP ("window-size-change-functions", Vwindow_size_change_functions,
doc: /* Functions called before redisplay, if window sizes have changed.