]> git.eshelyaron.com Git - emacs.git/commit
Improve interaction between mouse-drag-region and scroll-margin
authorYuri D'Elia <wavexx@thregr.org>
Wed, 6 Oct 2021 08:42:56 +0000 (10:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 6 Oct 2021 08:42:56 +0000 (10:42 +0200)
commite62d1fa9831cc4f046b330f438f8bd49a27a2458
tree000f68ec6f23d750ba2b971d1c252be19ea08069
parent405660e785228bbfe375f8997174f0a33fd5838b
Improve interaction between mouse-drag-region and scroll-margin

* lisp/mouse.el (mouse-drag-track): Disable both scroll-margin and
auto-hscroll-mode in mouse-drag-region and do not re-enable them until
dragging is over, making selections work as expected when inside the
margins.
lisp/mouse.el