Commit cddde921 authored by Glenn Morris's avatar Glenn Morris
Browse files

* src/minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)

parent e1bf8792
2011-09-24 Glenn Morris <rgm@gnu.org>
* minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)
2011-09-24 Paul Eggert <eggert@cs.ucla.edu>
Fix minor problems found by static checking.
......
......@@ -559,6 +559,10 @@ read_minibuf (Lisp_Object map, Lisp_Object initial, Lisp_Object prompt,
minibuffer = get_minibuffer (minibuf_level);
Fset_buffer (minibuffer);
/* Defeat (setq-default truncate-lines t), since truncated lines do
not work correctly in minibuffers. (Bug#5715, etc) */
BVAR (current_buffer, truncate_lines) = Qnil;
/* If appropriate, copy enable-multibyte-characters into the minibuffer. */
if (inherit_input_method)
BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment