diff options
author | Glenn Morris <rgm@gnu.org> | 2011-09-24 11:29:35 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-09-24 11:29:35 -0700 |
commit | cddde9219f8ec1a47e0e967c117e269ecf9742e9 (patch) | |
tree | 4f6d9c6b52266261a2486570e6e6ee89c29d5dee /src/minibuf.c | |
parent | e1bf8792e9ea9b2bba59c1937c0ff4120b9f74e9 (diff) | |
download | emacs-cddde9219f8ec1a47e0e967c117e269ecf9742e9.tar.gz |
* src/minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index d3f43b06254..341d544ef51 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -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; |