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

This commit is contained in:
Glenn Morris 2011-09-24 11:29:35 -07:00
parent e1bf8792e9
commit cddde9219f
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
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.

View file

@ -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;