aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
authorMiles Bader2007-10-19 00:00:21 +0000
committerMiles Bader2007-10-19 00:00:21 +0000
commit9c8020a8df03dc67a56d7df15664dcf7ace54bf0 (patch)
tree09b0646addff3c39f9e96ba89c04bdcc038a87a7 /src/xselect.c
parentdfc3268dfa133a2e0a677f1af7c1ee548eae065d (diff)
parentbd3164743080f3eb5fc316aca7cc5322ca58fe33 (diff)
downloademacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.tar.gz
emacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c
index d71ac42aa7c..0db5ef57767 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -442,7 +442,7 @@ x_own_selection (selection_name, selection_value)
442 if (!NILP (prev_value)) 442 if (!NILP (prev_value))
443 { 443 {
444 Lisp_Object rest; /* we know it's not the CAR, so it's easy. */ 444 Lisp_Object rest; /* we know it's not the CAR, so it's easy. */
445 for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) 445 for (rest = Vselection_alist; CONSP (rest); rest = XCDR (rest))
446 if (EQ (prev_value, Fcar (XCDR (rest)))) 446 if (EQ (prev_value, Fcar (XCDR (rest))))
447 { 447 {
448 XSETCDR (rest, Fcdr (XCDR (rest))); 448 XSETCDR (rest, Fcdr (XCDR (rest)));
@@ -1072,7 +1072,7 @@ x_handle_selection_clear (event)
1072 else 1072 else
1073 { 1073 {
1074 Lisp_Object rest; 1074 Lisp_Object rest;
1075 for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) 1075 for (rest = Vselection_alist; CONSP (rest); rest = XCDR (rest))
1076 if (EQ (local_selection_data, Fcar (XCDR (rest)))) 1076 if (EQ (local_selection_data, Fcar (XCDR (rest))))
1077 { 1077 {
1078 XSETCDR (rest, Fcdr (XCDR (rest))); 1078 XSETCDR (rest, Fcdr (XCDR (rest)));
@@ -1153,7 +1153,7 @@ x_clear_frame_selections (f)
1153 } 1153 }
1154 1154
1155 /* Delete elements after the beginning of Vselection_alist. */ 1155 /* Delete elements after the beginning of Vselection_alist. */
1156 for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) 1156 for (rest = Vselection_alist; CONSP (rest); rest = XCDR (rest))
1157 if (EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (XCDR (rest)))))))) 1157 if (EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (XCDR (rest))))))))
1158 { 1158 {
1159 /* Let random Lisp code notice that the selection has been stolen. */ 1159 /* Let random Lisp code notice that the selection has been stolen. */