[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 ba3f206: * lisp/progmodes/python.el (inferior-pyt

From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 ba3f206: * lisp/progmodes/python.el (inferior-python-mode):
Date: Tue, 7 Jun 2016 22:26:40 +0000 (UTC)

branch: emacs-25
commit ba3f206239349b725a970c7015f7f4ee8631ef6d
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/progmodes/python.el (inferior-python-mode):
    Avoid tabs.  (Bug#23616)
 lisp/progmodes/python.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 2d22bb2..41d3e1c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]