diff options
| author | Miles Bader | 2007-10-19 00:00:21 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-10-19 00:00:21 +0000 |
| commit | 9c8020a8df03dc67a56d7df15664dcf7ace54bf0 (patch) | |
| tree | 09b0646addff3c39f9e96ba89c04bdcc038a87a7 /src/macselect.c | |
| parent | dfc3268dfa133a2e0a677f1af7c1ee548eae065d (diff) | |
| parent | bd3164743080f3eb5fc316aca7cc5322ca58fe33 (diff) | |
| download | emacs-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/macselect.c')
| -rw-r--r-- | src/macselect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macselect.c b/src/macselect.c index 9515a5774ec..f8038effd8b 100644 --- a/src/macselect.c +++ b/src/macselect.c | |||
| @@ -487,7 +487,7 @@ x_own_selection (selection_name, selection_value) | |||
| 487 | if (!NILP (prev_value)) | 487 | if (!NILP (prev_value)) |
| 488 | { | 488 | { |
| 489 | Lisp_Object rest; /* we know it's not the CAR, so it's easy. */ | 489 | Lisp_Object rest; /* we know it's not the CAR, so it's easy. */ |
| 490 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) | 490 | for (rest = Vselection_alist; CONSP (rest); rest = XCDR (rest)) |
| 491 | if (EQ (prev_value, Fcar (XCDR (rest)))) | 491 | if (EQ (prev_value, Fcar (XCDR (rest)))) |
| 492 | { | 492 | { |
| 493 | XSETCDR (rest, Fcdr (XCDR (rest))); | 493 | XSETCDR (rest, Fcdr (XCDR (rest))); |
| @@ -619,7 +619,7 @@ x_clear_frame_selections (f) | |||
| 619 | } | 619 | } |
| 620 | 620 | ||
| 621 | /* Delete elements after the beginning of Vselection_alist. */ | 621 | /* Delete elements after the beginning of Vselection_alist. */ |
| 622 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) | 622 | for (rest = Vselection_alist; CONSP (rest); rest = XCDR (rest)) |
| 623 | if (EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (XCDR (rest)))))))) | 623 | if (EQ (frame, Fcar (Fcdr (Fcdr (Fcdr (Fcar (XCDR (rest)))))))) |
| 624 | { | 624 | { |
| 625 | /* Let random Lisp code notice that the selection has been stolen. */ | 625 | /* Let random Lisp code notice that the selection has been stolen. */ |
| @@ -762,7 +762,7 @@ Disowning it means there is no such selection. */) | |||
| 762 | else | 762 | else |
| 763 | { | 763 | { |
| 764 | Lisp_Object rest; | 764 | Lisp_Object rest; |
| 765 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) | 765 | for (rest = Vselection_alist; CONSP (rest); rest = XCDR (rest)) |
| 766 | if (EQ (local_selection_data, Fcar (XCDR (rest)))) | 766 | if (EQ (local_selection_data, Fcar (XCDR (rest)))) |
| 767 | { | 767 | { |
| 768 | XSETCDR (rest, Fcdr (XCDR (rest))); | 768 | XSETCDR (rest, Fcdr (XCDR (rest))); |