bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20906: 25.0.50;


From: Eli Zaretskii
Subject: bug#20906: 25.0.50;
Date: Thu, 08 Oct 2015 17:58:29 +0300

> From: Andreas Schwab <schwab@suse.de>
> Cc: Eli Zaretskii <eliz@gnu.org>,  20906@debbugs.gnu.org, 
> monnier@iro.umontreal.ca
> Date: Thu, 08 Oct 2015 16:02:05 +0200
> 
> -               ;; On X, x-get-selection-value supports more formats and
> -               ;; encodings, so use it in preference to x-get-selection.
> -               (or (x-get-selection-value)
> -                   (x-get-selection 'PRIMARY)))
> -           ;; FIXME: What about xterm-mouse-mode etc.?
> -           (x-get-selection 'PRIMARY))))
> -    (unless primary
> -      (error "No selection is available"))
> +  (let ((primary (gui-get-primary-selection)))
>      (push-mark (point))
>      (insert-for-yank primary)))
>  
> 
> The comment is there for a reason...

Thanks.

So I guess gui-backend-get-selection on x-win.el should loop over the
possible request types, like x-selection-value-internal did in Emacs
24.5, is that right?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]