From 8d954d4dadf4cb23c80db02d81e0f6663a50d2c3 Mon Sep 17 00:00:00 2001 From: Gerry Agbobada <10496163+gagbo@users.noreply.github.com> Date: Fri, 8 May 2020 11:18:26 +0200 Subject: [PATCH] Add link to emacs-mac-port source code Hopefully this will make it clear that emacs-mac does something special to get ligatures working with the composition-function-table method ; and it serves as an entry point for people who want to get into this kind of detail --- modules/ui/pretty-code/README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/pretty-code/README.org b/modules/ui/pretty-code/README.org index ef04c37d9..25227c9c1 100644 --- a/modules/ui/pretty-code/README.org +++ b/modules/ui/pretty-code/README.org @@ -86,7 +86,7 @@ emacs, this is implemented in two different ways : automatically depending on the capabilities of the font, and no font-specific configuration is necessary. -Emacs-mac port implements the /composition-function-table/ method in its code, +Emacs-mac port implements the /composition-function-table/ method in [[https://bitbucket.org/mituharu/emacs-mac/src/26c8fd9920db9d34ae8f78bceaec714230824dac/lisp/term/mac-win.el?at=master#lines-345:805][its code]], nothing is necessary on Doom side; otherwise, Doom implements the /composition-function-table/ for emacs 28+ built with Harfbuzz support, and the /prettify-symbols-mode/ method otherwise.