Commit 07fa68a7 authored by Chong Yidong's avatar Chong Yidong
Browse files

* src/keyboard.c (command_loop_1): Don't call x-set-selection on tty.

parent ad142133
2010-08-31 Chong Yidong <cyd@stupidchicken.com>
* keyboard.c (command_loop_1): Don't call x-set-selection on tty.
2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
 
* marker.c (Fcopy_marker): Make the first arg optional.
......
......@@ -1799,10 +1799,11 @@ command_loop_1 (void)
{
/* Even if not deactivating the mark, set PRIMARY if
`select-active-regions' is non-nil. */
if ((EQ (Vselect_active_regions, Qonly)
? EQ (CAR_SAFE (Vtransient_mark_mode), Qonly)
: (!NILP (Vselect_active_regions)
&& !NILP (Vtransient_mark_mode)))
if (!NILP (Fwindow_system (Qnil))
&& (EQ (Vselect_active_regions, Qonly)
? EQ (CAR_SAFE (Vtransient_mark_mode), Qonly)
: (!NILP (Vselect_active_regions)
&& !NILP (Vtransient_mark_mode)))
&& !EQ (Vthis_command, Qhandle_switch_frame))
{
int beg = XINT (Fmarker_position (current_buffer->mark));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment