Fix up smiley emoji application to make it reversible
* lisp/gnus/smiley.el (smiley-region): Use text properties for the emojis instead of rewriting the message.
This commit is contained in:
parent
9907912624
commit
d96734729d
1 changed files with 5 additions and 1 deletions
|
@ -227,7 +227,11 @@ A list of images is returned."
|
|||
(progn
|
||||
(gnus-add-image 'smiley image)
|
||||
(gnus-put-image image string 'smiley))
|
||||
(insert image)))))
|
||||
;; This is a string, but mark the property for
|
||||
;; deletion if the washing method is switched off.
|
||||
(insert (propertize string
|
||||
'display image
|
||||
'gnus-image-category 'smiley))))))
|
||||
images))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Reference in a new issue