diff options
author | Glenn Morris <rgm@gnu.org> | 2014-03-21 13:04:50 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-03-21 13:04:50 -0400 |
commit | 26e91130ed0611a1074d0cac5880c065f9ba69c8 (patch) | |
tree | 72c180ecacec3f2c8ae9b3c695c19665e801cc42 | |
parent | aa4659075414a2730535eeb419847d761eb76f0d (diff) | |
download | emacs-26e91130ed0611a1074d0cac5880c065f9ba69c8.tar.gz |
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.
-rw-r--r-- | etc/NEWS | 3 | ||||
-rw-r--r-- | lisp/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/cus-start.el | 2 | ||||
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/minibuf.c | 2 |
5 files changed, 11 insertions, 2 deletions
@@ -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 <rgm@gnu.org> + * 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 <rgm@gnu.org> + + * minibuf.c (history-length): Increase default from 30 to 100. + 2014-03-21 Daniel Colascione <dancol@dancol.org> * 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. |