aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ange-ftp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 634726892e1..d0dae527cc9 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -1008,7 +1008,7 @@ only return the directory part of FILE."
1008 "Read a password, echoing `.' for each character typed. 1008 "Read a password, echoing `.' for each character typed.
1009End with RET, LFD, or ESC. DEL or C-h rubs out. C-u kills line. 1009End with RET, LFD, or ESC. DEL or C-h rubs out. C-u kills line.
1010Optional DEFAULT is password to start with." 1010Optional DEFAULT is password to start with."
1011 (let ((pass (if default default "")) 1011 (let ((pass nil)
1012 (c 0) 1012 (c 0)
1013 (echo-keystrokes 0) 1013 (echo-keystrokes 0)
1014 (cursor-in-echo-area t)) 1014 (cursor-in-echo-area t))
@@ -1025,7 +1025,7 @@ Optional DEFAULT is password to start with."
1025 (setq pass (substring pass 0 -1)))))) 1025 (setq pass (substring pass 0 -1))))))
1026 (message "") 1026 (message "")
1027 (ange-ftp-repaint-minibuffer) 1027 (ange-ftp-repaint-minibuffer)
1028 pass)) 1028 (or pass default "")))
1029 1029
1030(defmacro ange-ftp-generate-passwd-key (host user) 1030(defmacro ange-ftp-generate-passwd-key (host user)
1031 (` (concat (, host) "/" (, user)))) 1031 (` (concat (, host) "/" (, user))))
@@ -1102,7 +1102,7 @@ Optional DEFAULT is password to start with."
1102 ;; found another machine with the same user. 1102 ;; found another machine with the same user.
1103 ;; Try that account. 1103 ;; Try that account.
1104 (ange-ftp-read-passwd 1104 (ange-ftp-read-passwd
1105 (format "passwd for %s@%s (same as %s@%s): " 1105 (format "passwd for %s@%s (default same as %s@%s): "
1106 user host user other) 1106 user host user other)
1107 (ange-ftp-lookup-passwd other user)) 1107 (ange-ftp-lookup-passwd other user))
1108 1108