From: Po Lu Date: Sat, 9 Jul 2022 01:16:05 +0000 (+0000) Subject: Fix redisplay after running selection hook on Haiku X-Git-Tag: emacs-29.0.90~1447^2~1081 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=29c8866c7fcd325995c6fc9b2b18537855fee52c;p=emacs.git Fix redisplay after running selection hook on Haiku * src/haikuselect.c (haiku_handle_selection_clear): Call redisplay_preserve_echo_area. --- diff --git a/src/haikuselect.c b/src/haikuselect.c index 999a0f5ac29..03aba1f9baa 100644 --- a/src/haikuselect.c +++ b/src/haikuselect.c @@ -1026,6 +1026,10 @@ haiku_handle_selection_clear (struct input_event *ie) { CALLN (Frun_hook_with_args, Qhaiku_lost_selection_functions, ie->arg); + + /* This is required for redisplay to happen if something changed the + display inside the selection loss functions. */ + redisplay_preserve_echo_area (20); } void