no electric indent for fundamental mode as well

This commit is contained in:
2023-04-13 07:23:50 +02:00
parent 89459719b5
commit fc0fb79f1c

View File

@@ -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)))) (setq buffer-undo-list tvd-buffer-undo-list))))
(add-hook 'text-mode-hook (add-hook 'text-mode-hook
(lambda () (electric-indent-local-mode -1)))
(add-hook 'fundamental-mode-hook
(lambda () (electric-indent-local-mode -1))) (lambda () (electric-indent-local-mode -1)))