From 748bd8acfa59861bc22a5f0017bfb830f9ac743e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 11 Aug 2019 10:59:29 -0400 Subject: [PATCH] emacs: disable tex-mode's prettification of -- and --- --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2d69096..14b9b37 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1158,6 +1158,12 @@ For disabling the behaviour for certain buffers and/or modes." :hook (po-mode . (lambda () (run-with-timer 0.1 nil 'View-exit)))) +(use-package tex-mode + :config + (cl-delete-if + (lambda (p) (string-match "^---?" (car p))) + tex--prettify-symbols-alist)) + ;;; Theme -- 2.20.1