From 26e91130ed0611a1074d0cac5880c065f9ba69c8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 21 Mar 2014 13:04:50 -0400 Subject: [PATCH] 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. --- etc/NEWS | 3 +++ lisp/ChangeLog | 2 ++ lisp/cus-start.el | 2 +- src/ChangeLog | 4 ++++ src/minibuf.c | 2 +- 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a7eb7e0294b..4a90b8f0970 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -30,6 +30,9 @@ otherwise leave it unmarked. * Changes in Emacs 24.5 +--- +** The default value of `history-length' has increased to 100. + * Editing Changes in Emacs 24.5 diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b35264cdf6b..61f173784a7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-03-21 Glenn Morris + * cus-start.el (history-length): Bump :version. + * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el) ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el) ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 5a35cb01911..7fbddbe1c45 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -317,7 +317,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of (enable-recursive-minibuffers minibuffer boolean) (history-length minibuffer (choice (const :tag "Infinite" t) integer) - "22.1") + "24.5") ; 30 -> 100 (history-delete-duplicates minibuffer boolean "22.1") (read-buffer-completion-ignore-case minibuffer boolean "23.1") diff --git a/src/ChangeLog b/src/ChangeLog index c491119041f..c3af54910a2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-03-21 Glenn Morris + + * minibuf.c (history-length): Increase default from 30 to 100. + 2014-03-21 Daniel Colascione * 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. This variable only affects history lists that don't specify their own maximum lengths. Setting the `history-length' property of a history variable overrides this default. */); - XSETFASTINT (Vhistory_length, 30); + XSETFASTINT (Vhistory_length, 100); DEFVAR_BOOL ("history-delete-duplicates", history_delete_duplicates, doc: /* Non-nil means to delete duplicates in history. -- 2.39.5