From fc0fb79f1c940c5082349676043bdcf8ab4477df Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 13 Apr 2023 07:23:50 +0200 Subject: [PATCH] no electric indent for fundamental mode as well --- conf-lisp/textmanipulation.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf-lisp/textmanipulation.el b/conf-lisp/textmanipulation.el index 30240c6..eb297b0 100644 --- a/conf-lisp/textmanipulation.el +++ b/conf-lisp/textmanipulation.el @@ -279,4 +279,7 @@ in between will be killed. If INS is non-nil, it will be inserted then." (setq buffer-undo-list tvd-buffer-undo-list)))) (add-hook 'text-mode-hook + (lambda () (electric-indent-local-mode -1))) + +(add-hook 'fundamental-mode-hook (lambda () (electric-indent-local-mode -1)))