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
|
(add-text-properties
|
||||||
(point) (1+ (point))
|
(point) (1+ (point))
|
||||||
(list 'face
|
(list 'face
|
||||||
(if (eq (car old) :height)
|
(cond
|
||||||
(plist-put (copy-sequence old) :height newheight)
|
((eq (car old) :height)
|
||||||
|
(plist-put (copy-sequence old) :height newheight))
|
||||||
|
((plistp (car old))
|
||||||
(cons (plist-put (car old) :height newheight)
|
(cons (plist-put (car old) :height newheight)
|
||||||
(cdr old)))
|
(cdr old)))
|
||||||
|
(t
|
||||||
|
(append (list (list :height newheight)) old)))
|
||||||
'rear-nonsticky t))
|
'rear-nonsticky t))
|
||||||
(add-face-text-property (point) (1+ (point))
|
(add-face-text-property (point) (1+ (point))
|
||||||
(list :height newheight))
|
(list :height newheight))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue