aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-06-13 23:51:00 +0000
committerGerd Moellmann2000-06-13 23:51:00 +0000
commit9c3f66a3d115aeb8a76a7265678b1511874535fe (patch)
tree7b2959df4e69fec2eac7e6a03de704ab45af46af /src
parentad4f174eb4c7f76a64661285e68c80509c5b9430 (diff)
downloademacs-9c3f66a3d115aeb8a76a7265678b1511874535fe.tar.gz
emacs-9c3f66a3d115aeb8a76a7265678b1511874535fe.zip
(read_char): Bind message-truncate-lines to t
while displaying a help-echo.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index c5cc3e45a96..fe3da4be8a8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2639,7 +2639,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
2639 if (CONSP (c) && EQ (XCAR (c), Qhelp_echo)) 2639 if (CONSP (c) && EQ (XCAR (c), Qhelp_echo))
2640 { 2640 {
2641 Lisp_Object msg; 2641 Lisp_Object msg;
2642 2642 int count = specpdl_ptr - specpdl;
2643
2644 specbind (Qmessage_truncate_lines, Qt);
2643 msg = XCDR (XCDR (c)); 2645 msg = XCDR (XCDR (c));
2644 2646
2645 if (!NILP (Vshow_help_function)) 2647 if (!NILP (Vshow_help_function))
@@ -2657,6 +2659,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
2657 message (0); 2659 message (0);
2658 } 2660 }
2659 2661
2662 unbind_to (count, Qnil);
2660 goto retry; 2663 goto retry;
2661 } 2664 }
2662 2665