]> git.eshelyaron.com Git - emacs.git/commitdiff
Add watch for password back to inferior python comint filter
authorGlenn Morris <rgm@gnu.org>
Sat, 3 Jun 2017 00:06:12 +0000 (20:06 -0400)
committerGlenn Morris <rgm@gnu.org>
Sat, 3 Jun 2017 00:06:12 +0000 (20:06 -0400)
It was removed along with other items for speed (bug#16875),
but doesn't seem to have been causing an issue, and it's useful to
have it there (bug#27154).
* lisp/progmodes/python.el (inferior-python-mode):
Add comint-watch-for-password-prompt to comint-output-filter-functions.

lisp/progmodes/python.el

index 4eecfba2e7eda89f2ac8491ac38dfb8230735eed..464b931cffc64539c57044681225e78be28ee3ec 100644 (file)
@@ -2731,7 +2731,8 @@ variable.
        '(ansi-color-process-output
          python-shell-comint-watch-for-first-prompt-output-filter
          python-pdbtrack-comint-output-filter-function
-         python-comint-postoutput-scroll-to-bottom))
+         python-comint-postoutput-scroll-to-bottom
+         comint-watch-for-password-prompt))
   (set (make-local-variable 'compilation-error-regexp-alist)
        python-shell-compilation-regexp-alist)
   (add-hook 'completion-at-point-functions