diff options
| author | Karl Heuer | 1995-07-17 22:14:00 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-07-17 22:14:00 +0000 |
| commit | 144025039fa3975df500dd035b36198e38660dbb (patch) | |
| tree | 9cecd1c414276c8aba105f397dcea2d2daf2daf5 /src | |
| parent | 39d8bb4dcf6aca6d728b48d5af83a7e242fba3c5 (diff) | |
| download | emacs-144025039fa3975df500dd035b36198e38660dbb.tar.gz emacs-144025039fa3975df500dd035b36198e38660dbb.zip | |
(x_clear_frame_selections): Delete duplicate code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/xselect.c b/src/xselect.c index 2b86e0d862e..ad0cc265861 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -818,25 +818,6 @@ x_clear_frame_selections (f) | |||
| 818 | /* Otherwise, we're really honest and truly being told to drop it. | 818 | /* Otherwise, we're really honest and truly being told to drop it. |
| 819 | Don't use Fdelq as that may QUIT;. */ | 819 | Don't use Fdelq as that may QUIT;. */ |
| 820 | 820 | ||
| 821 | while (!NILP (Vselection_alist) | ||
| 822 | && EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (Vselection_alist))))))) | ||
| 823 | { | ||
| 824 | /* Let random Lisp code notice that the selection has been stolen. */ | ||
| 825 | Lisp_Object hooks, selection_symbol; | ||
| 826 | |||
| 827 | hooks = Vx_lost_selection_hooks; | ||
| 828 | selection_symbol = Fcar (Vselection_alist); | ||
| 829 | |||
| 830 | if (!EQ (hooks, Qunbound)) | ||
| 831 | { | ||
| 832 | for (; CONSP (hooks); hooks = Fcdr (hooks)) | ||
| 833 | call1 (Fcar (hooks), selection_symbol); | ||
| 834 | redisplay_preserve_echo_area (); | ||
| 835 | } | ||
| 836 | |||
| 837 | Vselection_alist = Fcdr (Vselection_alist); | ||
| 838 | } | ||
| 839 | |||
| 840 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) | 821 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) |
| 841 | if (EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (XCONS (rest)->cdr))))))) | 822 | if (EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (XCONS (rest)->cdr))))))) |
| 842 | { | 823 | { |