diff options
| author | Chong Yidong | 2010-08-31 11:39:31 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-08-31 11:39:31 -0400 |
| commit | 07fa68a7e88e7e87beb570c0566b38086b8581d0 (patch) | |
| tree | 5acba19e6988b5041f18b8c0675e9566e1ce29c6 /src | |
| parent | ad1421332b1bf192e0f59367c86e3a128c4b7329 (diff) | |
| download | emacs-07fa68a7e88e7e87beb570c0566b38086b8581d0.tar.gz emacs-07fa68a7e88e7e87beb570c0566b38086b8581d0.zip | |
* src/keyboard.c (command_loop_1): Don't call x-set-selection on tty.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/keyboard.c | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fe97d576b9c..27cda2b66e9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-08-31 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * keyboard.c (command_loop_1): Don't call x-set-selection on tty. | ||
| 4 | |||
| 1 | 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * marker.c (Fcopy_marker): Make the first arg optional. | 7 | * marker.c (Fcopy_marker): Make the first arg optional. |
diff --git a/src/keyboard.c b/src/keyboard.c index cac051f7882..46e0afc15a4 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1799,10 +1799,11 @@ command_loop_1 (void) | |||
| 1799 | { | 1799 | { |
| 1800 | /* Even if not deactivating the mark, set PRIMARY if | 1800 | /* Even if not deactivating the mark, set PRIMARY if |
| 1801 | `select-active-regions' is non-nil. */ | 1801 | `select-active-regions' is non-nil. */ |
| 1802 | if ((EQ (Vselect_active_regions, Qonly) | 1802 | if (!NILP (Fwindow_system (Qnil)) |
| 1803 | ? EQ (CAR_SAFE (Vtransient_mark_mode), Qonly) | 1803 | && (EQ (Vselect_active_regions, Qonly) |
| 1804 | : (!NILP (Vselect_active_regions) | 1804 | ? EQ (CAR_SAFE (Vtransient_mark_mode), Qonly) |
| 1805 | && !NILP (Vtransient_mark_mode))) | 1805 | : (!NILP (Vselect_active_regions) |
| 1806 | && !NILP (Vtransient_mark_mode))) | ||
| 1806 | && !EQ (Vthis_command, Qhandle_switch_frame)) | 1807 | && !EQ (Vthis_command, Qhandle_switch_frame)) |
| 1807 | { | 1808 | { |
| 1808 | int beg = XINT (Fmarker_position (current_buffer->mark)); | 1809 | int beg = XINT (Fmarker_position (current_buffer->mark)); |