aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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