From f81518ddd264163ae05c19d7ee07ca2017b8c759 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 30 Mar 2022 20:32:33 +0200 Subject: [PATCH] [Emacs] These prettified symbols are actually quite annoying --- org/config/emacs.org | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 5b951b5..49ddbf7 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -7259,16 +7259,8 @@ will be used everywhere. (defun prog-mode-set-symbols-alist () (setq prettify-symbols-alist '(("lambda" . ?λ) - ("return" . ?⮐) ("null" . ?∅) - ("NULL" . ?∅) - ("for" . ?∀) - ("in" . ?∈) - ("and" . ?∧) - ("&&" . ?∧) - ("or" . ?∨) - ("||" . ?∨) - ("xor" . ?⊻))) + ("NULL" . ?∅))) (prettify-symbols-mode 1)) (add-hook 'prog-mode-hook #'prog-mode-set-symbols-alist) @@ -7278,13 +7270,10 @@ We can now take care of the language-specific symbols. First, let’s declare some symbols for the Lisp languages. #+begin_src emacs-lisp (setq-default lisp-prettify-symbols-alist '(("lambda" . ?λ) - ("mapc" . ?↦) ("defun" . ?𝑓) ("defvar" . ?𝑣) ("defcustom" . ?𝑐) - ("defconst" . ?𝐶) - ("not" . ?!) - ("pi" . ?π))) + ("defconst" . ?𝐶))) (defun lisp-mode-prettify () (setq prettify-symbols-alist lisp-prettify-symbols-alist)