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.
This commit is contained in:
Glenn Morris 2014-03-21 13:04:50 -04:00
parent aa46590754
commit 26e91130ed
5 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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):

View file

@ -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")

View file

@ -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

View file

@ -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.