projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ee666
)
Make emoji-describe really describe only the glyph under point
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 7 Nov 2021 15:04:18 +0000
(16:04 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 7 Nov 2021 15:04:22 +0000
(16:04 +0100)
* lisp/international/emoji.el (emoji-describe): Only look at the
compositions under point (bug#51659).
lisp/international/emoji.el
patch
|
blob
|
history
diff --git
a/lisp/international/emoji.el
b/lisp/international/emoji.el
index f95a9e79c4e8dccc9739b12c78d30e14ea1f8fff..2cba707b5fa7c5d52ced94992ec46c1e356e3112 100644
(file)
--- a/
lisp/international/emoji.el
+++ b/
lisp/international/emoji.el
@@
-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))))))