commit 82c24ba172189115bc39fcc03d66a74015dca389
parent ecd10d1e3bc0c777c54c19ae8625b632fed44d86
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Sat, 19 Dec 2015 18:36:15 +0530
Strip text properties when yanking text
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/emojify.el b/emojify.el
@@ -774,6 +774,7 @@ TODO: Skip emojifying if region is already emojified."
'emojify-text match
'emojify-beginning (copy-marker match-beginning)
'emojify-end (copy-marker match-end)
+ 'yank-handler (list nil match)
'keymap emojify-emoji-keymap
'point-entered #'emojify-point-entered-function
'help-echo #'emojify-help-function))))))))))
@@ -811,6 +812,7 @@ BEG and END are the beginning and end of the region respectively"
'emojify-text t
'emojify-beginning t
'emojify-end t
+ 'yank-handler t
'keymap t
'help-echo t
'rear-nonsticky t))))