We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a8d55 commit 19b38e0Copy full SHA for 19b38e0
eca-chat.el
@@ -1807,6 +1807,8 @@ Call ORIG-FUN with ARGS if not media."
1807
1808
;; Paste image from clipboard support
1809
(when (fboundp 'yank-media-handler)
1810
+ ;; reset current handlers inherit from markdown
1811
+ (setq-local yank-media--registered-handlers nil)
1812
(yank-media-handler "image/png" #'eca-chat--yank-image-handler)
1813
(yank-media-handler "image/jpeg" #'eca-chat--yank-image-handler)
1814
(yank-media-handler "image/jpg" #'eca-chat--yank-image-handler)
0 commit comments