diff src/xselect.c @ 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 81c67c7d1655
children 2f5c1df12e01
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;