]> git.eshelyaron.com Git - emacs.git/commit
Only preserve PRIMARY and CLIPBOARD selection ownership by default
authorPo Lu <luangruo@yahoo.com>
Fri, 15 Jul 2022 13:46:55 +0000 (21:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 15 Jul 2022 13:47:09 +0000 (21:47 +0800)
commitc96a6a0c9fc44be846834ab1d7d8d527dc8dc5e9
tree1953c18851c3be1a68f4de962e800678860df0e5
parented4ba79ea8f2be2d01f6447910e2c8319908d0d6
Only preserve PRIMARY and CLIPBOARD selection ownership by default

* lisp/cus-start.el (standard): Update defcustom type.
* src/xselect.c (x_should_preserve_selection): New function.
(x_clear_frame_selections): Use it to determine whether or not
to preserve a selection.
* src/xterm.c (x_preserve_selections): Fix tail initialization.
(syms_of_xterm): Update doc string of
`x-auto-preserve-selections'.
lisp/cus-start.el
src/xselect.c
src/xterm.c