;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Code:
(end-of-line)
(point)))
-(defvar riece-read-passwd nil)
+(autoload 'read-passwd "passwd")
+(defvar riece-read-passwd #'read-passwd)
(defun riece-read-passwd (prompt)
- (if (not riece-read-passwd)
- (if (functionp 'read-passwd)
- (setq riece-read-passwd 'read-passwd)
- (if (load "passwd" t)
- (setq riece-read-passwd 'read-passwd)
- (autoload 'ange-ftp-read-passwd "ange-ftp")
- (setq riece-read-passwd 'ange-ftp-read-passwd))))
(funcall riece-read-passwd prompt))
(if (string-match "0\\{0\\}" "")