summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-03 16:48:14 +0200
committerAlan Pearce2024-05-03 16:49:18 +0200
commitfda9ef704333fa80dfc082ea58ef3fe6041cec16 (patch)
treef4f8377ed66ec94416e622e796f4d4a30669ffcc
parenta48404b10b7fcea080e065a0f67a4919cc10a008 (diff)
downloadnixfiles-fda9ef704333fa80dfc082ea58ef3fe6041cec16.tar.lz
nixfiles-fda9ef704333fa80dfc082ea58ef3fe6041cec16.tar.zst
nixfiles-fda9ef704333fa80dfc082ea58ef3fe6041cec16.zip
emacs: fix format-all using tabs for emacs lisp
-rw-r--r--user/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index eb934df4..1a34b514 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -719,7 +719,9 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 
 ;;; Editing
 
-(setq-default tab-always-indent 'complete)
+(setq-default tab-always-indent 'complete
+              indent-tabs-mode nil
+              tab-width 4)
 
 (electric-pair-mode +1)