Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
15584:d7c59db5d11f | 15585:335aa5c3ce34 |
---|---|
832 | 832 |
833 if (!EQ (hooks, Qunbound)) | 833 if (!EQ (hooks, Qunbound)) |
834 { | 834 { |
835 for (; CONSP (hooks); hooks = Fcdr (hooks)) | 835 for (; CONSP (hooks); hooks = Fcdr (hooks)) |
836 call1 (Fcar (hooks), selection_symbol); | 836 call1 (Fcar (hooks), selection_symbol); |
837 #if 0 /* This can crash when deleting a frame | |
838 from x_connection_closed. Anyway, it seems unnecessary; | |
839 something else should cause a redisplay. */ | |
837 redisplay_preserve_echo_area (); | 840 redisplay_preserve_echo_area (); |
841 #endif | |
838 } | 842 } |
839 | 843 |
840 Vselection_alist = Fcdr (Vselection_alist); | 844 Vselection_alist = Fcdr (Vselection_alist); |
841 } | 845 } |
842 | 846 |
852 | 856 |
853 if (!EQ (hooks, Qunbound)) | 857 if (!EQ (hooks, Qunbound)) |
854 { | 858 { |
855 for (; CONSP (hooks); hooks = Fcdr (hooks)) | 859 for (; CONSP (hooks); hooks = Fcdr (hooks)) |
856 call1 (Fcar (hooks), selection_symbol); | 860 call1 (Fcar (hooks), selection_symbol); |
861 #if 0 /* See above */ | |
857 redisplay_preserve_echo_area (); | 862 redisplay_preserve_echo_area (); |
863 #endif | |
858 } | 864 } |
859 XCONS (rest)->cdr = Fcdr (XCONS (rest)->cdr); | 865 XCONS (rest)->cdr = Fcdr (XCONS (rest)->cdr); |
860 break; | 866 break; |
861 } | 867 } |
862 } | 868 } |