changeset 15585:335aa5c3ce34

(x_clear_frame_selections): Don't call redisplay_preserve_echo_area here.
author Miles Bader <miles@gnu.org>
date Tue, 02 Jul 1996 16:25:19 +0000
parents d7c59db5d11f
children 96a050ad79e0
files src/xselect.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xselect.c	Tue Jul 02 16:25:01 1996 +0000
+++ b/src/xselect.c	Tue Jul 02 16:25:19 1996 +0000
@@ -834,7 +834,11 @@
 	{
 	  for (; CONSP (hooks); hooks = Fcdr (hooks))
 	    call1 (Fcar (hooks), selection_symbol);
+#if 0 /* This can crash when deleting a frame
+	 from x_connection_closed.  Anyway, it seems unnecessary;
+	 something else should cause a redisplay.  */
 	  redisplay_preserve_echo_area ();
+#endif
 	}
 
       Vselection_alist = Fcdr (Vselection_alist);
@@ -854,7 +858,9 @@
 	  {
 	    for (; CONSP (hooks); hooks = Fcdr (hooks))
 	      call1 (Fcar (hooks), selection_symbol);
+#if 0 /* See above */
 	    redisplay_preserve_echo_area ();
+#endif
 	  }
 	XCONS (rest)->cdr = Fcdr (XCONS (rest)->cdr);
 	break;