From 60d205d2010f7e6b6ca59cb57f0a0f50ea552621 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 8 Nov 2021 06:08:33 +0100 Subject: [PATCH] Mention yank-media-types in the manual * doc/lispref/frames.texi (Yanking Media): Mention yank-media-types. --- doc/lispref/frames.texi | 6 ++++++ etc/NEWS | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 8a77fdef3fb..31ad82b7ada 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -3959,6 +3959,12 @@ clipboard, and then pass on the matching selection to the handler (if any). If there's more than one matching selection, the user is queried first. + The @code{yank-media-types} command can be used to explore the +clipboard/primary selection. It lists all the media types that are +currently available, and can be handy when creating handlers---to see +what data is actually available. Some applications put a surprising +amount of different data types on the clipboard. + @node Drag and Drop @section Drag and Drop @cindex drag and drop diff --git a/etc/NEWS b/etc/NEWS index fd9b3e7a82c..a297948a11a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -605,7 +605,7 @@ HTML from other applications into Emacs. It is only supported in modes that have registered support for it, and only on capable platforms. ---- ++++ *** New command 'yank-media-types'. This command lets you examine all data in the current selection and the clipboard, and insert it into the buffer. -- 2.39.2