[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pushing to prettify-symbols-alist
From: |
Philip Kaludercic |
Subject: |
Re: pushing to prettify-symbols-alist |
Date: |
Sat, 13 Feb 2021 21:07:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
michael-franzese@gmx.com writes:
> Is there a better way to write the following when you have many
> things to push to prettify-symbols-alist?
>
> (push
'("\\alpha" . ?α) prettify-symbols-alist)
I think it's better to use add-to-list, if you want to add this in your
own configuration. But if you have a lot of elements, you might also
consider something like
(setq prettify-symbols-alist
(append '(("\\alpha" . ?α)
("\\beta" . ?β)
("\\gamma" . ?γ)
;; ...
)
prettify-symbols-alist))
--
Philip K.
signature.asc
Description: PGP signature