]> git.eshelyaron.com Git - emacs.git/commit
Support `select-active-regions' with xterm
authorDuncan Findlay <duncf@google.com>
Sat, 11 Jun 2022 01:46:49 +0000 (18:46 -0700)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2022 11:10:19 +0000 (14:10 +0300)
commit2cb5ed66c094cc1ea937c72eb7958c2dc674ac7f
tree717684e72cfa65ac8261a49891fe9a1babe2fc07
parente321f87aa76c959faed784851b65ab7ada3fd129
Support `select-active-regions' with xterm

This allows Emacs to save the active region to the user's
primary selection on supported terminals.  The behavior follows
the existing `select-active-regions' variable and requires
`xterm-select-active-regions' to be non-nil.

* src/keyboard.c (command_loop_1):
* lisp/frame.el (display-selections-p): On text terminals, check
terminal parameter `xterm--set-selections' and variable
`xterm-select-active-regions' when deciding whether to update
primary selection. (bug#55883)
* lisp/term/xterm.el (xterm-select-active-regions): New
defcustom.
etc/NEWS
lisp/frame.el
lisp/term/xterm.el
src/keyboard.c