[Emacs] Remove some prettified symbols
This commit is contained in:
parent
a1fbe5d2f8
commit
5918d9d756
@ -7873,12 +7873,8 @@ built-in! With that, I can replace strings of my choice by another
|
|||||||
character of my choice! First, let’s declare the general symbols that
|
character of my choice! First, let’s declare the general symbols that
|
||||||
will be used everywhere.
|
will be used everywhere.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
|
||||||
(defun prog-mode-set-symbols-alist ()
|
(defun prog-mode-set-symbols-alist ()
|
||||||
(setq prettify-symbols-alist '(("lambda" . ?λ)
|
(setq prettify-symbols-alist '(("lambda" . ?λ)))
|
||||||
("null" . ?∅)
|
|
||||||
("NULL" . ?∅)))
|
|
||||||
(prettify-symbols-mode 1))
|
(prettify-symbols-mode 1))
|
||||||
|
|
||||||
(add-hook 'prog-mode-hook #'prog-mode-set-symbols-alist)
|
(add-hook 'prog-mode-hook #'prog-mode-set-symbols-alist)
|
||||||
|
Loading…
Reference in New Issue
Block a user