(x-select-text): New arg PUSH.
authorRichard M. Stallman <rms@gnu.org>
Mon, 24 May 1993 21:19:42 +0000 (21:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 24 May 1993 21:19:42 +0000 (21:19 +0000)
lisp/term/x-win.el

index 674097f..6d534cb 100644 (file)
@@ -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))