mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(internal-ange-ftp-mode):
Set comint-password-prompt-regexp locally to not match anything.
This commit is contained in:
parent
da19ac119e
commit
5e1515a85d
@ -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)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user