]> git.eshelyaron.com Git - emacs.git/commit
Allow two mouse functions to work with Rectangle Mark mode
authorFederico Tedin <federicotedin@gmail.com>
Wed, 17 Oct 2018 06:34:51 +0000 (08:34 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 17 Oct 2018 06:34:51 +0000 (08:34 +0200)
commit134ba45bf0c11048c44a46c11d5dc8da12ca4d3e
treef53bdbe0caa4343fd7fbecdb6f2c09db39984079
parente64065bbbd21b7136a7a4efb4b0f2f39a65905dd
Allow two mouse functions to work with Rectangle Mark mode

* lisp/mouse.el (mouse-save-then-kill): Make
mouse-save-then-kill work with rectangular regions, including
when mouse-drag-copy-region is set to t. (Bug#31240)
(mouse-drag-and-drop-region): Allow dragging and dropping
rectangular regions. (Bug#31240)
* rect.el (rectangle-intersect-p)
(rectangle-position-as-coordinates): New functions.
lisp/mouse.el
lisp/rect.el