From 07f37081fa8c7bc4edbb579aa94891dc1fde9004 Mon Sep 17 00:00:00 2001 From: "Michael C. Libby" Date: Sat, 5 Jun 2021 17:12:38 -0500 Subject: [PATCH] Note that ligature.el works on Windows and may need to be applied to other modes than prog-mode --- Emacs-instructions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Emacs-instructions.md b/Emacs-instructions.md index c3beda8..63ef13b 100644 --- a/Emacs-instructions.md +++ b/Emacs-instructions.md @@ -45,7 +45,9 @@ If you're using a modern version of emacs, you might have ligature support built (global-ligature-mode 't) ``` -This is generally the easiest solution, ~~but can only be used on macOS~~. Also tested on Linux, it works. +This is generally the easiest solution, ~~but can only be used on macOS~~. Also tested on Linux, it works. It works on Windows as well. + +One thing to be aware of is that not all modes where you want code ligatures may derive from `prog-mode`, so you may also want to call `ligature-set-ligatures` with other modes (e.g. `html-mode`). ### Using prettify-symbols