From: Lars Ingebrigtsen Date: Mon, 8 Nov 2021 05:08:33 +0000 (+0100) Subject: Mention yank-media-types in the manual X-Git-Tag: emacs-29.0.90~3671^2~79 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60d205d2010f7e6b6ca59cb57f0a0f50ea552621;p=emacs.git Mention yank-media-types in the manual * doc/lispref/frames.texi (Yanking Media): Mention yank-media-types. --- 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.