diff options
Diffstat (limited to 'lisp/telnet.el')
-rw-r--r-- | lisp/telnet.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/telnet.el b/lisp/telnet.el index 2bb605332aa..557d00534d4 100644 --- a/lisp/telnet.el +++ b/lisp/telnet.el @@ -141,7 +141,8 @@ rejecting one login and prompting again for a username and password.") (telnet-filter proc string) (setq telnet-count 0) (send-string proc (concat (comint-read-noecho "Password: " t) - telnet-new-line))) + telnet-new-line)) + (clear-this-command-keys)) (t (telnet-check-software-type-initialize string) (telnet-filter proc string) (cond ((> telnet-count telnet-maximum-count) |