]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/python.el
* lisp/progmodes/python.el (inferior-python-mode):
[gnu-emacs] / lisp / progmodes / python.el
index 2d22bb2ce88901972476f16279f23d998a23c6de..41d3e1c7310921674142fd5fc23c7c0aaaf9a723 100644 (file)
@@ -2678,6 +2678,7 @@ variable.
 \(Type \\[describe-mode] in the process buffer for a list of commands.)"
   (when python-shell--parent-buffer
     (python-util-clone-local-variables python-shell--parent-buffer))
+  (set (make-local-variable 'indent-tabs-mode) nil)
   ;; Users can interactively override default values for
   ;; `python-shell-interpreter' and `python-shell-interpreter-args'
   ;; when calling `run-python'.  This ensures values let-bound in