From: Ian Jackson Date: Fri, 29 Nov 2019 23:37:01 +0000 (+0000) Subject: dir-locals: Provide python-indent-offset too X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c76764ded85d69af335db66748351dcf2ae08079;p=secnet.git 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 --- 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)))