]> git.eshelyaron.com Git - emacs.git/commit
Try to save selections from being disowned during frame deletion
authorPo Lu <luangruo@yahoo.com>
Tue, 12 Jul 2022 02:47:23 +0000 (10:47 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 12 Jul 2022 02:47:51 +0000 (10:47 +0800)
commit86d128c6c3acca1665addc65aa43ff80572f46e8
treeef1dd26be80acf43384c8146e3c784a09ab0cb0d
parent7ac313ea87b4761baf975718e4fa3200f61a0ad9
Try to save selections from being disowned during frame deletion

* lisp/cus-start.el (standard): Add
`x-auto-preserve-selections'.
* src/xselect.c (x_clear_frame_selections): Collect deleted
selections into a variable and preserve them.
* src/xterm.c (x_preserve_selections): New function.
(syms_of_xterm): New variable `x-auto-preserve-selections'.
* src/xterm.h: Update prototypes.
etc/NEWS
lisp/cus-start.el
src/xselect.c
src/xterm.c
src/xterm.h