diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 2bf6bc25946..d932dbe8e20 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -875,7 +875,8 @@ Fifth arg HIST, if non-nil, specifies a history list and optionally | |||
| 875 | HISTPOS is the initial position for use by the minibuffer history | 875 | HISTPOS is the initial position for use by the minibuffer history |
| 876 | commands. For consistency, you should also specify that element of | 876 | commands. For consistency, you should also specify that element of |
| 877 | the history as the value of INITIAL-CONTENTS. Positions are counted | 877 | the history as the value of INITIAL-CONTENTS. Positions are counted |
| 878 | starting from 1 at the beginning of the list. | 878 | starting from 1 at the beginning of the list. If HIST is the symbol |
| 879 | `t', history is not recorded. | ||
| 879 | 880 | ||
| 880 | Sixth arg DEFAULT-VALUE, if non-nil, should be a string, which is used | 881 | Sixth arg DEFAULT-VALUE, if non-nil, should be a string, which is used |
| 881 | as the default to `read' if READ is non-nil and the user enters | 882 | as the default to `read' if READ is non-nil and the user enters |
| @@ -2037,8 +2038,11 @@ If the value is `confirm-after-completion', the user may exit with an | |||
| 2037 | doc: /* History list symbol to add minibuffer values to. | 2038 | doc: /* History list symbol to add minibuffer values to. |
| 2038 | Each string of minibuffer input, as it appears on exit from the minibuffer, | 2039 | Each string of minibuffer input, as it appears on exit from the minibuffer, |
| 2039 | is added with | 2040 | is added with |
| 2041 | |||
| 2040 | (set minibuffer-history-variable | 2042 | (set minibuffer-history-variable |
| 2041 | (cons STRING (symbol-value minibuffer-history-variable))) */); | 2043 | (cons STRING (symbol-value minibuffer-history-variable))) |
| 2044 | |||
| 2045 | If the variable is the symbol `t', no history is recorded. */); | ||
| 2042 | XSETFASTINT (Vminibuffer_history_variable, 0); | 2046 | XSETFASTINT (Vminibuffer_history_variable, 0); |
| 2043 | 2047 | ||
| 2044 | DEFVAR_LISP ("minibuffer-history-position", Vminibuffer_history_position, | 2048 | DEFVAR_LISP ("minibuffer-history-position", Vminibuffer_history_position, |