summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-cmds.el
diff options
context:
space:
mode:
authorDuncan Findlay <duncf@google.com>2022-06-10 18:46:49 -0700
committerEli Zaretskii <eliz@gnu.org>2022-06-18 14:10:19 +0300
commit2cb5ed66c094cc1ea937c72eb7958c2dc674ac7f (patch)
tree717684e72cfa65ac8261a49891fe9a1babe2fc07 /lisp/progmodes/cc-cmds.el
parente321f87aa76c959faed784851b65ab7ada3fd129 (diff)
downloademacs-2cb5ed66c094cc1ea937c72eb7958c2dc674ac7f.tar.gz
emacs-2cb5ed66c094cc1ea937c72eb7958c2dc674ac7f.tar.bz2
emacs-2cb5ed66c094cc1ea937c72eb7958c2dc674ac7f.zip
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.
Diffstat (limited to 'lisp/progmodes/cc-cmds.el')
0 files changed, 0 insertions, 0 deletions