aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index d9f1a35620d..0dc06a99e2a 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -254,7 +254,9 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos)
254 254
255 /* Add the value to the appropriate history list. */ 255 /* Add the value to the appropriate history list. */
256 if (XTYPE (Vminibuffer_history_variable) == Lisp_Symbol 256 if (XTYPE (Vminibuffer_history_variable) == Lisp_Symbol
257 && ! EQ (XSYMBOL (Vminibuffer_history_variable)->value, Qunbound)) 257 && ! EQ (XSYMBOL (Vminibuffer_history_variable)->value, Qunbound)
258 && NILP (Fstring_equal
259 (val, Fcar (Fsymbol_value (Vminibuffer_history_variable)))))
258 Fset (Vminibuffer_history_variable, 260 Fset (Vminibuffer_history_variable,
259 Fcons (val, Fsymbol_value (Vminibuffer_history_variable))); 261 Fcons (val, Fsymbol_value (Vminibuffer_history_variable)));
260 262