From d9f3ec8806bef50cba6a34ac679a782a6aaf3b0f Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Tue, 29 Sep 2026 11:36:52 -0700 Subject: [PATCH] The Prettify package converts words to letters Things like ae won't work, as it is not a complete word. Emojis are fine though. --- ha-display.org | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ha-display.org b/ha-display.org index 8e90482..9763414 100644 --- a/ha-display.org +++ b/ha-display.org @@ -535,17 +535,18 @@ The nerd font package takes a popular font like "Iosevka" and jams a bunch of th ** Symbols and Emojis -Display these two symbols as one character, as using [[Ligatures]] often stretches wider, and the following are nice to be collapsed: +Display these two symbols as one character, as using [[Ligatures]] often stretches wider, and the following are nice to be collapsed into a single glyph: #+begin_src emacs-lisp (add-hook 'text-mode-hook (lambda () (dolist (pair '(("!?" . "‽") - ("ae" . "æ") - ("..." . "…") ; ?? ("??" . "⁇") - ;; ("<<" . "«") - ;; (">>" . "»") - ("AE" . "Æ"))) + ("<<" . "«") + (">>" . "»") + (":-)" . "🙂") + (":-D" . "😃") + (";-)" . "😉") + ("..." . "…"))) (push pair prettify-symbols-alist)))) #+end_src