X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Friece-compat.el;h=3e54caf5508e00a772823df3aeebf3e3bd853275;hb=6d7051cd0e0b2c4cbd38ba31f0fa293ac1f9382d;hp=d3b91555ee322be4e856b8b0ca529136451c6297;hpb=d6583a616134eabdb5810dcf37c549639dc3a82d;p=elisp%2Friece.git diff --git a/lisp/riece-compat.el b/lisp/riece-compat.el index d3b9155..3e54caf 100644 --- a/lisp/riece-compat.el +++ b/lisp/riece-compat.el @@ -19,8 +19,8 @@ ;; 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: @@ -48,21 +48,10 @@ (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) - (funcall riece-read-passwd prompt)) - (quit - (message "%sQuit" prompt) - 'quit))) + (funcall riece-read-passwd prompt)) (if (string-match "0\\{0\\}" "") (defun riece-make-interval-regexp (regexp min &optional max)