summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-11 10:59:29 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-11 10:59:29 -0400
commit748bd8acfa59861bc22a5f0017bfb830f9ac743e (patch)
tree5c8a6d3057d19625810ff1492f9aa9b94419dd79
parenta9ddb26d53ad9a48b08ac4b7bf6c74bf488abe9e (diff)
downloadconfigs-748bd8acfa59861bc22a5f0017bfb830f9ac743e.tar.gz
configs-748bd8acfa59861bc22a5f0017bfb830f9ac743e.tar.xz
configs-748bd8acfa59861bc22a5f0017bfb830f9ac743e.zip
emacs: disable tex-mode's prettification of -- and ---
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
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