From 73ac86784dc1840e53be390a00bde1aa67cc9083 Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 4 Feb 2005 02:38:57 +0000 Subject: [PATCH] Simplified. --- lisp/riece-compat.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lisp/riece-compat.el b/lisp/riece-compat.el index d3b9155..43f7797 100644 --- a/lisp/riece-compat.el +++ b/lisp/riece-compat.el @@ -48,14 +48,8 @@ (end-of-line) (point))) -(defvar riece-read-passwd - (if (functionp 'read-passwd) - #'read-passwd - (if (load "passwd" t) - #'read-passwd - (autoload 'ange-ftp-read-passwd "ange-ftp") - #'ange-ftp-read-passwd))) - +(autoload 'read-passwd "passwd") +(defvar riece-read-passwd #'read-passwd) (defun riece-read-passwd (prompt) (condition-case nil (let (inhibit-quit) -- 1.7.10.4