Mercurial > emacs
changeset 111735:1cf4eea48b69
term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 26 Nov 2010 20:40:37 +0200 |
parents | 3a6d978e6636 (current diff) e492c86d8f6c (diff) |
children | 52e0dfc06f6c |
files | |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Nov 26 20:15:09 2010 +0200 +++ b/lisp/ChangeLog Fri Nov 26 20:40:37 2010 +0200 @@ -1,3 +1,7 @@ +2010-11-26 Eli Zaretskii <eliz@gnu.org> + + * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS. + 2010-11-26 Glenn Morris <rgm@gnu.org> * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
--- a/lisp/term/pc-win.el Fri Nov 26 20:15:09 2010 +0200 +++ b/lisp/term/pc-win.el Fri Nov 26 20:40:37 2010 +0200 @@ -288,6 +288,16 @@ (if (x-selection-owner-p selection) t)) +;; x-get-selection-internal is used in select.el +(defun x-get-selection-internal (selection type &optional time_stamp) + "Return text selected from some X window. +SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. +\(Those are literal upper-case symbol names, since that's what X expects.) +TYPE is the type of data desired, typically `STRING'. +TIME_STAMP is the time to use in the XConvertSelection call for foreign +selections. If omitted, defaults to the time for the last event." + (x-get-selection-value)) + ;; From src/fontset.c: (fset 'query-fontset 'ignore)