emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105906: * src/minibuf.c (read_minibu


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105906: * src/minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)
Date: Sat, 24 Sep 2011 11:29:35 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105906
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2011-09-24 11:29:35 -0700
message:
  * src/minibuf.c (read_minibuf): Disable line truncation.  (Bug#5715)
modified:
  src/ChangeLog
  src/minibuf.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-24 16:31:55 +0000
+++ b/src/ChangeLog     2011-09-24 18:29:35 +0000
@@ -1,3 +1,7 @@
+2011-09-24  Glenn Morris  <address@hidden>
+
+       * minibuf.c (read_minibuf): Disable line truncation.  (Bug#5715)
+
 2011-09-24  Paul Eggert  <address@hidden>
 
        Fix minor problems found by static checking.

=== modified file 'src/minibuf.c'
--- a/src/minibuf.c     2011-09-11 22:04:52 +0000
+++ b/src/minibuf.c     2011-09-24 18:29:35 +0000
@@ -559,6 +559,10 @@
   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;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]