From 650145999dc5937c0f047c21493cd955811d2d6a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 21 Oct 2024 15:34:58 +0200 Subject: emacs: Fix incorrect usage of ‘indent-tabs-mode’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/modules/mm-editing.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/emacs/modules') 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) -- cgit v1.2.3