mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Fix Emoji zooming commands
* lisp/international/emoji.el (emoji-zoom-increase): Handle the case where face property at point is a list of faces. (Bug#65994)
This commit is contained in:
parent
8970cdd009
commit
58fd212d8a
@ -726,10 +726,14 @@ FACTOR is the multiplication factor for the size."
|
||||
(add-text-properties
|
||||
(point) (1+ (point))
|
||||
(list 'face
|
||||
(if (eq (car old) :height)
|
||||
(plist-put (copy-sequence old) :height newheight)
|
||||
(cond
|
||||
((eq (car old) :height)
|
||||
(plist-put (copy-sequence old) :height newheight))
|
||||
((plistp (car old))
|
||||
(cons (plist-put (car old) :height newheight)
|
||||
(cdr old)))
|
||||
(t
|
||||
(append (list (list :height newheight)) old)))
|
||||
'rear-nonsticky t))
|
||||
(add-face-text-property (point) (1+ (point))
|
||||
(list :height newheight))
|
||||
|
Loading…
Reference in New Issue
Block a user