]> git.eshelyaron.com Git - emacs.git/commit
Faster region-beginning and region-end for rectangle selections
authorMattias EngdegÄrd <mattiase@acm.org>
Sat, 24 Aug 2024 13:00:32 +0000 (15:00 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:32 +0000 (09:51 +0200)
commit457c61eb435e5698d1bdf9963d0f445f63d976c4
treec9e5a5adaf1f59d6a631b046ee21e29b213e7561
parenta602add85ab50efa9a5003fceaf48ec1535a55af
Faster region-beginning and region-end for rectangle selections

* lisp/rect.el (rectangle--region-beginning, rectangle--region-end):
Make these run in O(1), not linear, time and space.

(cherry picked from commit 3a8222e700304e4dff84fcdfa8ff2a4e48646c82)
lisp/rect.el