mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
(read_char): Bind message-truncate-lines to t
while displaying a help-echo.
This commit is contained in:
parent
ad4f174eb4
commit
9c3f66a3d1
1 changed files with 4 additions and 1 deletions
|
|
@ -2639,7 +2639,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
|
|||
if (CONSP (c) && EQ (XCAR (c), Qhelp_echo))
|
||||
{
|
||||
Lisp_Object msg;
|
||||
|
||||
int count = specpdl_ptr - specpdl;
|
||||
|
||||
specbind (Qmessage_truncate_lines, Qt);
|
||||
msg = XCDR (XCDR (c));
|
||||
|
||||
if (!NILP (Vshow_help_function))
|
||||
|
|
@ -2657,6 +2659,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
|
|||
message (0);
|
||||
}
|
||||
|
||||
unbind_to (count, Qnil);
|
||||
goto retry;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue