# HG changeset patch # User Richard M. Stallman # Date 738278382 0 # Node ID 98f500ca5593f091237b021aa28881a4563bed61 # Parent 5c758290ba6c88b433cff836b7b402999cfd6605 (x-select-text): New arg PUSH. diff -r 5c758290ba6c -r 98f500ca5593 lisp/term/x-win.el --- a/lisp/term/x-win.el Mon May 24 21:19:26 1993 +0000 +++ b/lisp/term/x-win.el Mon May 24 21:19:42 1993 +0000 @@ -469,8 +469,8 @@ ;;; 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))