mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(x-select-text): New arg PUSH.
This commit is contained in:
parent
39479f7efa
commit
0e2f4e59a5
@ -469,8 +469,8 @@ This returns ARGS with the arguments that have been processed removed."
|
||||
;;; have a window on a copy of the kill-ring.
|
||||
;;; Also, set the value of X cut buffer 0, for backward compatibility
|
||||
;;; with older X applications.
|
||||
(defun x-select-text (text)
|
||||
(x-set-cut-buffer text)
|
||||
(defun x-select-text (text &optional push)
|
||||
(x-set-cut-buffer text push)
|
||||
(x-set-selection 'CLIPBOARD text)
|
||||
(x-set-selection 'PRIMARY text)
|
||||
(setq x-last-selected-text text))
|
||||
|
Loading…
Reference in New Issue
Block a user