summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 5426feb0..a1561fc8 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -725,7 +725,7 @@ guesses the correct settings for me.
     :config (progn
               (defun ap/dtrt-adapt-if-needed ()
                 (unless editorconfig-mode
-                  (dtrt-adapt)))
+                  (dtrt-indent-adapt)))
               (if (fboundp #'editorconfig-mode)
                   (add-hook 'after-change-major-mode-hook #'ap/dtrt-adapt-if-needed)
                 (add-hook 'after-change-major-mode-hook #'dtrt-indent-adapt))