diff options
| author | Miles Bader | 1996-07-02 16:25:19 +0000 |
|---|---|---|
| committer | Miles Bader | 1996-07-02 16:25:19 +0000 |
| commit | 996b804dde127409f56d63f4dc85f180a17e0c28 (patch) | |
| tree | 5ce3389b70f9380155afa30b72d4fa1e082ca0b8 /src | |
| parent | 7aaa6e47a5defd4b684807c6f079bd2d7b1699de (diff) | |
| download | emacs-996b804dde127409f56d63f4dc85f180a17e0c28.tar.gz emacs-996b804dde127409f56d63f4dc85f180a17e0c28.zip | |
(x_clear_frame_selections): Don't call redisplay_preserve_echo_area here.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c index 9e4681f5dc4..118c2649348 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -834,7 +834,11 @@ x_clear_frame_selections (f) | |||
| 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); |
| @@ -854,7 +858,9 @@ x_clear_frame_selections (f) | |||
| 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; |