From d8d469ef271a0f8191af47ce57bd27e5e88851f3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 12 Jan 2012 00:11:24 -0800 Subject: [PATCH] url-auth fix for password-protected urls in url-handler-mode. * lisp/usr/url-auth.el (url-basic-auth): Allow reading usernames etc when the minibuffer is already in use, eg in url-handler-mode. Fixes: debbugs:10298 --- lisp/url/ChangeLog | 5 +++++ lisp/url/url-auth.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 4c28ae3f1a9..99a07ec60fe 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,8 @@ +2012-01-12 Glenn Morris + + * url-auth.el (url-basic-auth): Allow reading usernames etc when + the minibuffer is already in use, eg in url-handler-mode. (Bug#10298) + 2011-11-15 Juanma Barranquero * url-dav.el (url-dav-delete-file): Fix typo. diff --git a/lisp/url/url-auth.el b/lisp/url/url-auth.el index be307698575..aebc3c268b4 100644 --- a/lisp/url/url-auth.el +++ b/lisp/url/url-auth.el @@ -69,6 +69,7 @@ instead of the filename inheritance method." (file (url-filename href)) (user (url-user href)) (pass (url-password href)) + (enable-recursive-minibuffers t) ; for url-handler-mode (bug#10298) byserv retval data) (setq server (format "%s:%d" server port) file (cond -- 2.39.2