The Prettify package converts words to letters

Things like ae won't work, as it is not a complete word.

Emojis are fine though.
This commit is contained in:
Howard Abrams 2026-09-29 11:36:52 -07:00
parent db51a66d8c
commit d9f3ec8806

View file

@ -535,17 +535,18 @@ The nerd font package takes a popular font like "Iosevka" and jams a bunch of th
** Symbols and Emojis ** 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 #+begin_src emacs-lisp
(add-hook 'text-mode-hook (lambda () (add-hook 'text-mode-hook (lambda ()
(dolist (pair '(("!?" . "‽") (dolist (pair '(("!?" . "‽")
("ae" . "æ")
("..." . "…") ; ??
("??" . "⁇") ("??" . "⁇")
;; ("<<" . "«") ("<<" . "«")
;; (">>" . "»") (">>" . "»")
("AE" . "Æ"))) (":-)" . "🙂")
(":-D" . "😃")
(";-)" . "😉")
("..." . "…")))
(push pair prettify-symbols-alist)))) (push pair prettify-symbols-alist))))
#+end_src #+end_src