]> git.eshelyaron.com Git - emacs.git/commit
Add a framework for yanking media into Emacs
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Nov 2021 20:59:22 +0000 (21:59 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Nov 2021 20:59:27 +0000 (21:59 +0100)
commit48ca3c99c8121007eef38d457ddc25158118a8d3
tree8de1fa0946eab1330e6fc494a1edd0cb989229a6
parent5a4f98b0b6d503b1ce68bb29937a84acf3ef97da
Add a framework for yanking media into Emacs

* doc/emacs/killing.texi (Clipboard): Refer to it.
* doc/lispref/frames.texi (Yanking Media): Document the mechanism.

* lisp/yank-media.el: New file.

* lisp/gnus/message.el (message-mode): Register a yank handler for
images.
(message-insert-screenshot): Factor out image code from here...
(message--yank-media-image-handler): ... to here.
doc/emacs/killing.texi
doc/lispref/elisp.texi
doc/lispref/frames.texi
etc/NEWS
lisp/gnus/message.el
lisp/yank-media.el [new file with mode: 0644]