From: Amin Bandali Date: Sun, 11 Aug 2019 14:59:29 +0000 (-0400) Subject: emacs: disable tex-mode's prettification of -- and --- X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/748bd8acfa59861bc22a5f0017bfb830f9ac743e?ds=inline;hp=a9ddb26d53ad9a48b08ac4b7bf6c74bf488abe9e emacs: disable tex-mode's prettification of -- and --- --- 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