From e6540b419b7bb4794c0acc939e87511310222f45 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 12 Jul 2019 16:55:36 +0200 Subject: [PATCH] doom/set-indent-width: set standard-indent buffer-locally --- core/autoload/text.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/autoload/text.el b/core/autoload/text.el index 4be6739ba..6237111eb 100644 --- a/core/autoload/text.el +++ b/core/autoload/text.el @@ -176,8 +176,8 @@ Respects `require-final-newline'." (list (if (integerp current-prefix-arg) current-prefix-arg (read-number "New indent size: ")))) - (setq tab-width width - standard-indent width) + (setq tab-width width) + (setq-local standard-indent width) (when (boundp 'evil-shift-width) (setq evil-shift-width width)) (cond ((require 'editorconfig nil t)