bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6774: Cut and paste with C-w/mouse-2 not working?


From: Jan Djärv
Subject: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Thu, 12 Aug 2010 09:43:29 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2



Kenichi Handa skrev 2010-08-12 05.54:
We can add a proper code to set_point_both like this code in
init_iterator (xdisp.c).

   /* Non-zero if we should highlight the region.  */
   highlight_region_p
     = (!NILP (Vtransient_mark_mode)
        &&  !NILP (current_buffer->mark_active)
        &&  XMARKER (current_buffer->mark)->buffer != 0);


Don't you have to check that point != mark also?

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]