From 7f6f8cd392d8f6cc33c2847f9d3d667be1d74d25 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 20 Dec 2023 10:39:04 -0500 Subject: Disable indent-tabs-mode in markdown-mode --- dot_emacs.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_emacs.tmpl b/dot_emacs.tmpl index 0a2669c..861a522 100644 --- a/dot_emacs.tmpl +++ b/dot_emacs.tmpl @@ -528,6 +528,8 @@ Otherwise split the current paragraph into one sentence per line." :init (autoload 'markdown-mode "markdown-mode" "Major mode for editing Markdown files" t) + :hook ((markdown-mode . (lambda () + (setq-default indent-tabs-mode -1)))) :mode (("\\.markdown\\'" . markdown-mode) ("\\.mdown\'" . markdown-mode))) -- cgit v1.2.3