aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2011-09-24 11:29:35 -0700
committerGlenn Morris2011-09-24 11:29:35 -0700
commitcddde9219f8ec1a47e0e967c117e269ecf9742e9 (patch)
tree4f6d9c6b52266261a2486570e6e6ee89c29d5dee /src
parente1bf8792e9ea9b2bba59c1937c0ff4120b9f74e9 (diff)
downloademacs-cddde9219f8ec1a47e0e967c117e269ecf9742e9.tar.gz
emacs-cddde9219f8ec1a47e0e967c117e269ecf9742e9.zip
* src/minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/minibuf.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 54e5a39b21e..aaa200054c5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-09-24 Glenn Morris <rgm@gnu.org>
2
3 * minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)
4
12011-09-24 Paul Eggert <eggert@cs.ucla.edu> 52011-09-24 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Fix minor problems found by static checking. 7 Fix minor problems found by static checking.
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,
559 minibuffer = get_minibuffer (minibuf_level); 559 minibuffer = get_minibuffer (minibuf_level);
560 Fset_buffer (minibuffer); 560 Fset_buffer (minibuffer);
561 561
562 /* Defeat (setq-default truncate-lines t), since truncated lines do
563 not work correctly in minibuffers. (Bug#5715, etc) */
564 BVAR (current_buffer, truncate_lines) = Qnil;
565
562 /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ 566 /* If appropriate, copy enable-multibyte-characters into the minibuffer. */
563 if (inherit_input_method) 567 if (inherit_input_method)
564 BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte; 568 BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte;