From: Glenn Morris Date: Wed, 18 Sep 2013 04:30:33 +0000 (-0700) Subject: * term/x-win.el (x-select-enable-clipboard): Declare. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1554 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e843de776724c563b32aded5405fcada1a75d465;p=emacs.git * term/x-win.el (x-select-enable-clipboard): Declare. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 14ba74410b7..c88da2e5d69 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -27,6 +27,8 @@ (x-last-selected-text-primary, x-last-selected-text-clipboard): Declare. + * term/x-win.el (x-select-enable-clipboard): Declare. + * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare. (fit-frame-to-buffer): Explicit error if --without-x. (mouse-autoselect-window-select): Silence compiler. diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 28fd3d7090c..3c7373b6d65 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -1217,6 +1217,8 @@ The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)." (remove-text-properties 0 (length text) '(foreign-selection nil) text)) text)) +(defvar x-select-enable-clipboard) ; common-win + ;; Return the value of the current X selection. ;; Consult the selection. Treat empty strings as if they were unset. ;; If this function is called twice and finds the same text,