]> git.eshelyaron.com Git - emacs.git/commit
Improve 'C-u C-x =' for ligatures of ASCII characters
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Mar 2025 10:39:46 +0000 (12:39 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Mar 2025 19:24:28 +0000 (20:24 +0100)
commit725b33e2494b6b0f320057e202d218e7d7b40eb6
tree4e822c210803663edacaff209177aa685a31218f
parent5a37039ff048bd464405c5c8be4d1fb7d7cd1b48
Improve 'C-u C-x =' for ligatures of ASCII characters

* lisp/composite.el (composition-find-pos-glyph): New function.
* lisp/descr-text.el (describe-char): Use it to get the font glyph
code of "trivial" compositions.
(describe-char-display): Accept an additional optional argument
and use it as the font glyph code for the character.

(cherry picked from commit 098fe4b73b62033b8930760e7fff0a23c271a1bb)
lisp/composite.el
lisp/descr-text.el