]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_clear_frame_selections): Don't call redisplay_preserve_echo_area here.
authorMiles Bader <miles@gnu.org>
Tue, 2 Jul 1996 16:25:19 +0000 (16:25 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 2 Jul 1996 16:25:19 +0000 (16:25 +0000)
src/xselect.c

index 9e4681f5dc4b3ace3f25c933b74de903eb4dd9e6..118c2649348f15adfcb7f5b345c784ddcb64f7d0 100644 (file)
@@ -834,7 +834,11 @@ x_clear_frame_selections (f)
        {
          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 @@ x_clear_frame_selections (f)
          {
            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;