diff options
| author | Glenn Morris | 2014-03-21 13:04:50 -0400 |
|---|---|---|
| committer | Glenn Morris | 2014-03-21 13:04:50 -0400 |
| commit | 26e91130ed0611a1074d0cac5880c065f9ba69c8 (patch) | |
| tree | 72c180ecacec3f2c8ae9b3c695c19665e801cc42 /src | |
| parent | aa4659075414a2730535eeb419847d761eb76f0d (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | src/minibuf.c | 2 |
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 @@ | |||
| 1 | 2014-03-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * minibuf.c (history-length): Increase default from 30 to 100. | ||
| 4 | |||
| 1 | 2014-03-21 Daniel Colascione <dancol@dancol.org> | 5 | 2014-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. | |||
| 1967 | This variable only affects history lists that don't specify their own | 1967 | This variable only affects history lists that don't specify their own |
| 1968 | maximum lengths. Setting the `history-length' property of a history | 1968 | maximum lengths. Setting the `history-length' property of a history |
| 1969 | variable overrides this default. */); | 1969 | variable 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. |