From: ueno Date: Fri, 4 Feb 2005 02:38:57 +0000 (+0000) Subject: Simplified. X-Git-Tag: riece-1_0_7~51 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73ac86784dc1840e53be390a00bde1aa67cc9083;p=elisp%2Friece.git Simplified. --- 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)