Make emoji-describe really describe only the glyph under point
* lisp/international/emoji.el (emoji-describe): Only look at the compositions under point (bug#51659).
This commit is contained in:
parent
93ee666c09
commit
3886c95d7e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ character) under point is."
|
|||
(interactive
|
||||
(list (if (eobp)
|
||||
(error "No glyph under point")
|
||||
(let ((comp (find-composition (point))))
|
||||
(let ((comp (find-composition (point) (1+ (point)))))
|
||||
(if comp
|
||||
(buffer-substring-no-properties (car comp) (cadr comp))
|
||||
(buffer-substring-no-properties (point) (1+ (point))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue