]> git.eshelyaron.com Git - emacs.git/commitdiff
(internal-ange-ftp-mode):
authorRichard M. Stallman <rms@gnu.org>
Mon, 23 Oct 1995 16:57:42 +0000 (16:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 23 Oct 1995 16:57:42 +0000 (16:57 +0000)
Set comint-password-prompt-regexp locally to not match anything.

lisp/ange-ftp.el

index 0983fc2180da84ba4c5f18501d831993b80d3b05..5e427b7126e5e2131c927a6b8f774463b620aa7e 100644 (file)
@@ -1826,6 +1826,10 @@ on the gateway machine to do the ftp instead."
     (setq ange-ftp-process-result-line "")
 
     (setq comint-prompt-regexp "^ftp> ")
+    (make-local-variable 'comint-password-prompt-regexp)
+    ;; This is a regexp that can't match anything.
+    ;; ange-ftp has its own ways of handling passwords.
+    (setq comint-password-prompt-regexp "^a\\'z")
     (make-local-variable 'paragraph-start)
     (setq paragraph-start comint-prompt-regexp)))