summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-21 15:34:58 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-21 15:34:58 +0200
commit650145999dc5937c0f047c21493cd955811d2d6a (patch)
treed049ed946999de87f98a6e1823c64c8ebfa66a10 /.config
parent71cb581ae6e53e022f48ecb5d063ee086ec2be4b (diff)
emacs: Fix incorrect usage of ‘indent-tabs-mode’
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/modules/mm-editing.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el
index 5811e25..09a70e3 100644
--- a/.config/emacs/modules/mm-editing.el
+++ b/.config/emacs/modules/mm-editing.el
@@ -74,7 +74,7 @@ The indentation settings are set based on the configured values in
;; ‘indent-tabs-mode’ so we must override them explicitly.
(setq-local
indent-tabs-mode (if spaces
- (and (cadr spaces) -1)
+ (not (cadr spaces))
(default-value 'indent-tabs-mode))
tab-width (if width
(cadr width)