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
1 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue