Commit 8c8fc5df authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp.el (tramp-action-password): Let-bind enable-recursive-minibuffers to t.

parent a77b0ac9
2012-04-19 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-action-password): Let-bind
`enable-recursive-minibuffers' to t.
2012-04-18 Sam Steingold <sds@gnu.org>
* progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
......
......@@ -3133,11 +3133,12 @@ beginning of local filename are not substituted."
(defun tramp-action-password (proc vec)
"Query the user for a password."
(with-current-buffer (process-buffer proc)
(tramp-check-for-regexp proc tramp-password-prompt-regexp)
(tramp-message vec 3 "Sending %s" (match-string 1))
(tramp-enter-password proc)
;; Hide password prompt.
(narrow-to-region (point-max) (point-max))))
(let ((enable-recursive-minibuffers t))
(tramp-check-for-regexp proc tramp-password-prompt-regexp)
(tramp-message vec 3 "Sending %s" (match-string 1))
(tramp-enter-password proc)
;; Hide password prompt.
(narrow-to-region (point-max) (point-max)))))
(defun tramp-action-succeed (proc vec)
"Signal success in finding shell prompt."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment