aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nsselect.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nsselect.m b/src/nsselect.m
index bb6679cd2ab..be52609e21c 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -205,6 +205,14 @@ ns_get_local_selection (Lisp_Object selection_name,
205 Lisp_Object target_type) 205 Lisp_Object target_type)
206{ 206{
207 Lisp_Object local_value; 207 Lisp_Object local_value;
208 /* `yank-media' uses this combination to figure out what the
209 available types of the selection are. Return nil here so that
210 ns_get_foreign_selection ends up being called to do that
211 (Bug#71377). */
212 if (EQ (selection_name, QCLIPBOARD)
213 && EQ (target_type, QTARGETS))
214 return Qnil;
215
208 local_value = assq_no_quit (selection_name, Vselection_alist); 216 local_value = assq_no_quit (selection_name, Vselection_alist);
209 return local_value; 217 return local_value;
210} 218}