+2014-05-07 Paul Eggert <eggert@cs.ucla.edu>
+
+ * minibuf.c (read_minibuf): Avoid C99ism in previous patch (Bug#17430).
+
2014-05-07 Jarek Czekalski <jarekczek@poczta.onet.pl>
Fix initialization of minibuffer history variable (Bug#17430).
EMACS_INT pos = 0;
/* String to add to the history. */
Lisp_Object histstring;
+ Lisp_Object histval;
Lisp_Object empty_minibuf;
Lisp_Object dummy, frame;
Vminibuffer_completing_file_name = Qlambda;
/* If variable is unbound, make it nil. */
- Lisp_Object histval = find_symbol_value (Vminibuffer_history_variable);
- if (EQ (histval, Qunbound)) {
- Fset (Vminibuffer_history_variable, Qnil);
- histval = Qnil;
- }
+ histval = find_symbol_value (Vminibuffer_history_variable);
+ if (EQ (histval, Qunbound))
+ {
+ Fset (Vminibuffer_history_variable, Qnil);
+ histval = Qnil;
+ }
if (inherit_input_method)
{