fix(ligatures): lisp modes disobeying null +ligatures-extra-symbols
Fix: #7440
This commit is contained in:
parent
b853c4106a
commit
bd14095516
1 changed files with 5 additions and 0 deletions
|
@ -124,6 +124,11 @@ and cannot run in."
|
|||
(setq prettify-symbols-unprettify-at-point 'right-edge)
|
||||
|
||||
(when (modulep! +extra)
|
||||
;; Lisp modes offer their own defaults for `prettify-symbols-mode' (just a
|
||||
;; lambda symbol substitution), but this might be unexpected if the user
|
||||
;; enables +extra but has unset `+ligatures-extra-symbols'.
|
||||
(setq lisp-prettify-symbols-alist nil)
|
||||
|
||||
(add-hook 'after-change-major-mode-hook #'+ligatures-init-extra-symbols-h))
|
||||
|
||||
(cond
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue