emacs: disable tex-mode's prettification of -- and ---
authorAmin Bandali <bandali@gnu.org>
Sun, 11 Aug 2019 14:59:29 +0000 (10:59 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 11 Aug 2019 14:59:29 +0000 (10:59 -0400)
.emacs.d/init.el

index 2d69096..14b9b37 100644 (file)
@@ -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))
+
 \f
 ;;; Theme