From: Richard M. Stallman Date: Mon, 5 May 1997 19:53:46 +0000 (+0000) Subject: Comment change. X-Git-Tag: emacs-20.1~2275 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d854d8397ff55f5c21824ea3e8656712c26e3047;p=emacs.git Comment change. --- diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index a0cdc96e264..bd654a48668 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -582,6 +582,9 @@ This is in addition to the primary selection.") ;;; Return the value of the current X selection. ;;; Consult the selection, then the cut buffer. Treat empty strings ;;; as if they were unset. +;;; If this function is called twice and finds the same text, +;;; it returns nil the second time. This is so that a single +;;; selection won't be added to the kill ring over and over. (defun x-cut-buffer-or-selection-value () (let (text)