aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/minibuf.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/minibuf.texi')
-rw-r--r--lispref/minibuf.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 7b762a654e..1b076c5837 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -450,7 +450,8 @@ delete old elements if the list gets too long. The variable
@code{history-length} specifies the maximum length for most history
lists. To specify a different maximum length for a particular history
list, put the length in the @code{history-length} property of the
-history list symbol.
+history list symbol. The variable @code{history-delete-duplicates}
+specifies whether to delete duplicates in history.
@defvar history-length
The value of this variable specifies the maximum length for all
@@ -459,6 +460,11 @@ value is @code{t}, that means there no maximum (don't delete old
elements).
@end defvar
+@defvar history-delete-duplicates
+If the value of this variable is @code{t}, that means when adding a
+new history element, all previous identical elements are deleted.
+@end defvar
+
Here are some of the standard minibuffer history list variables:
@defvar minibuffer-history