summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-05-11 15:41:33 +0200
committerAlan Pearce2016-05-11 15:42:22 +0200
commit2807e16d1726f203dc9a9d9f7eb5bcf3accdc9d3 (patch)
tree65f6efb0ed5867581386df8447c39d7ba5c437ed /tag-emacs
parenta6a79446121d2ac54d1ce462383998222e92e40d (diff)
downloadnixfiles-2807e16d1726f203dc9a9d9f7eb5bcf3accdc9d3.tar.lz
nixfiles-2807e16d1726f203dc9a9d9f7eb5bcf3accdc9d3.tar.zst
nixfiles-2807e16d1726f203dc9a9d9f7eb5bcf3accdc9d3.zip
Emacs: Fix typo in function name
Diffstat (limited to 'tag-emacs')
-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))