mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
(cua--highlight-rectangle): Only show
rectangle overlay in selected window.
This commit is contained in:
parent
f8a9926b35
commit
f28564957e
@ -833,6 +833,7 @@ If command is repeated at same position, delete the rectangle."
|
||||
(overlay-put overlay 'after-string as)
|
||||
(overlay-put overlay 'face rface)
|
||||
(overlay-put overlay 'keymap cua--overlay-keymap)
|
||||
(overlay-put overlay 'window (selected-window))
|
||||
(setq new (cons overlay new))))))
|
||||
;; Trim old trailing overlays.
|
||||
(mapcar (function delete-overlay) old)
|
||||
|
Loading…
Reference in New Issue
Block a user