aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2014-03-21 13:04:50 -0400
committerGlenn Morris2014-03-21 13:04:50 -0400
commit26e91130ed0611a1074d0cac5880c065f9ba69c8 (patch)
tree72c180ecacec3f2c8ae9b3c695c19665e801cc42 /src
parentaa4659075414a2730535eeb419847d761eb76f0d (diff)
downloademacs-26e91130ed0611a1074d0cac5880c065f9ba69c8.tar.gz
emacs-26e91130ed0611a1074d0cac5880c065f9ba69c8.zip
Increase default history-length from 30 to 100
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg02008.html * lisp/cus-start.el (history-length): Bump :version. * src/minibuf.c (history-length): Increase default from 30 to 100.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/minibuf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c491119041f..c3af54910a2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12014-03-21 Glenn Morris <rgm@gnu.org>
2
3 * minibuf.c (history-length): Increase default from 30 to 100.
4
12014-03-21 Daniel Colascione <dancol@dancol.org> 52014-03-21 Daniel Colascione <dancol@dancol.org>
2 6
3 * xterm.c (x_bitmap_icon): Stop reading the icon bitmap from disk 7 * xterm.c (x_bitmap_icon): Stop reading the icon bitmap from disk
diff --git a/src/minibuf.c b/src/minibuf.c
index f325381d1ca..8b742cf88ca 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1967,7 +1967,7 @@ A value of t means no truncation.
1967This variable only affects history lists that don't specify their own 1967This variable only affects history lists that don't specify their own
1968maximum lengths. Setting the `history-length' property of a history 1968maximum lengths. Setting the `history-length' property of a history
1969variable overrides this default. */); 1969variable overrides this default. */);
1970 XSETFASTINT (Vhistory_length, 30); 1970 XSETFASTINT (Vhistory_length, 100);
1971 1971
1972 DEFVAR_BOOL ("history-delete-duplicates", history_delete_duplicates, 1972 DEFVAR_BOOL ("history-delete-duplicates", history_delete_duplicates,
1973 doc: /* Non-nil means to delete duplicates in history. 1973 doc: /* Non-nil means to delete duplicates in history.