diff options
| author | Richard M. Stallman | 1994-10-20 20:03:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-10-20 20:03:30 +0000 |
| commit | bc9babb6220e299f94da942a50c869a98d4b89c6 (patch) | |
| tree | a18cff3a42d0bf91656f3bb00b848d7d8476e667 | |
| parent | daaf01970edc72b5ed233ac7d4cf248c240126eb (diff) | |
| download | emacs-bc9babb6220e299f94da942a50c869a98d4b89c6.tar.gz emacs-bc9babb6220e299f94da942a50c869a98d4b89c6.zip | |
(ange-ftp-get-passwd): Use user-mail-address.
(ange-ftp-generate-anonymous-password): Doc fix.
| -rw-r--r-- | lisp/ange-ftp.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index e9d079a5f76..ecb56f2072f 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -699,9 +699,9 @@ If non-nil but not a string, the user is prompted for the name.") | |||
| 699 | "*Account password to use when the user is the same as ange-ftp-default-user.") | 699 | "*Account password to use when the user is the same as ange-ftp-default-user.") |
| 700 | 700 | ||
| 701 | (defvar ange-ftp-generate-anonymous-password t | 701 | (defvar ange-ftp-generate-anonymous-password t |
| 702 | "*If t, use a password of user@host when logging in as the anonymous user. | 702 | "*If t, use value of `user-mail-address' as password for anonymous ftp. |
| 703 | If a string then use that as the password. | 703 | If a string, then use that string as the password. |
| 704 | If nil then prompt the user for a password.") | 704 | If nil, prompt the user for a password.") |
| 705 | 705 | ||
| 706 | (defvar ange-ftp-dumb-unix-host-regexp nil | 706 | (defvar ange-ftp-dumb-unix-host-regexp nil |
| 707 | "*If non-nil, regexp matching hosts on which `dir' command lists directory.") | 707 | "*If non-nil, regexp matching hosts on which `dir' command lists directory.") |
| @@ -860,7 +860,7 @@ SIZE, if supplied, should be a prime number." | |||
| 860 | ;;;; Internal variables. | 860 | ;;;; Internal variables. |
| 861 | ;;;; ------------------------------------------------------------ | 861 | ;;;; ------------------------------------------------------------ |
| 862 | 862 | ||
| 863 | (defconst ange-ftp-version "$Revision: 1.56 $") | 863 | (defconst ange-ftp-version "$Revision: 1.57 $") |
| 864 | 864 | ||
| 865 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 865 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 866 | "Buffer name to hold directory listing data received from ftp process.") | 866 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -1081,7 +1081,7 @@ Optional DEFAULT is password to start with." | |||
| 1081 | ange-ftp-generate-anonymous-password) | 1081 | ange-ftp-generate-anonymous-password) |
| 1082 | (if (stringp ange-ftp-generate-anonymous-password) | 1082 | (if (stringp ange-ftp-generate-anonymous-password) |
| 1083 | ange-ftp-generate-anonymous-password | 1083 | ange-ftp-generate-anonymous-password |
| 1084 | (concat (user-login-name) "@" (system-name)))) | 1084 | user-mail-address)) |
| 1085 | 1085 | ||
| 1086 | ;; see if same user has logged in to other hosts; if so then prompt | 1086 | ;; see if same user has logged in to other hosts; if so then prompt |
| 1087 | ;; with the password that was used there. | 1087 | ;; with the password that was used there. |