From eddaec97b00d3494401fc8a77af2113811b9cd2f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 29 Nov 2019 23:37:01 +0000 Subject: [PATCH] dir-locals: Provide python-indent-offset too python-indent is obsolete since Emacs 24.3. It has been made into an alias for python-indent-offset, but the alias is not marked safe as a file variable. Specifying python-indent-offset should make this work on all relevant versions of Emacs (at least in the default configuration). Signed-off-by: Ian Jackson --- .dir-locals.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.dir-locals.el b/.dir-locals.el index 7ca463d..95ea27f 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -5,4 +5,5 @@ (c-basic-offset . 4)) (python-mode (indent-tabs-mode . t) + (python-indent-offset . 8) (python-indent . 8))) -- 2.30.2