comparison lisp/term/x-win.el @ 1265:cfda1fa93624

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Tue, 29 Sep 1992 17:27:47 +0000
parents be61776a20c4
children bf6b4bc3ccc0
comparison
equal deleted inserted replaced
1264:6ba9d5aaace6 1265:cfda1fa93624
471 ;;; If you are running xclipboard, this means you can effectively 471 ;;; If you are running xclipboard, this means you can effectively
472 ;;; have a window on a copy of the kill-ring. 472 ;;; have a window on a copy of the kill-ring.
473 ;;; Also, set the value of X cut buffer 0, for backward compatibility 473 ;;; Also, set the value of X cut buffer 0, for backward compatibility
474 ;;; with older X application. 474 ;;; with older X application.
475 (defun x-select-text (text) 475 (defun x-select-text (text)
476 (x-set-cut-buffer 0 text)
476 (x-own-selection text 'clipboard) 477 (x-own-selection text 'clipboard)
477 (x-own-selection text) 478 (x-own-selection text)
478 (setq x-last-selected-text text)) 479 (setq x-last-selected-text text))
479 480
480 ;;; Return the value of the current X selection. For compatibility 481 ;;; Return the value of the current X selection. For compatibility