mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
* net/ange-ftp.el (ange-ftp-get-passwd): Bind
`enable-recursive-minibuffers'. (ange-ftp-get-process): Throw if `non-essential' is non-nil.
This commit is contained in:
parent
8b5257e1d4
commit
493c66882d
2 changed files with 13 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2012-06-20 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/ange-ftp.el (ange-ftp-get-passwd): Bind
|
||||
`enable-recursive-minibuffers'.
|
||||
(ange-ftp-get-process): Throw if `non-essential' is non-nil.
|
||||
|
||||
2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
|
||||
|
||||
* ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
|
||||
|
|
|
|||
|
|
@ -1230,7 +1230,8 @@ only return the directory part of FILE."
|
|||
;; see if same user has logged in to other hosts; if so then prompt
|
||||
;; with the password that was used there.
|
||||
(t
|
||||
(let* ((other (ange-ftp-get-host-with-passwd user))
|
||||
(let* ((enable-recursive-minibuffers t)
|
||||
(other (ange-ftp-get-host-with-passwd user))
|
||||
(passwd (if other
|
||||
|
||||
;; found another machine with the same user.
|
||||
|
|
@ -2131,6 +2132,11 @@ Create a new process if needed."
|
|||
(proc (get-process name)))
|
||||
(if (and proc (memq (process-status proc) '(run open)))
|
||||
proc
|
||||
;; If `non-essential' is non-nil, don't reopen a new connection. It
|
||||
;; will be catched in Tramp.
|
||||
(when non-essential
|
||||
(throw 'non-essential 'non-essential))
|
||||
|
||||
;; Must delete dead process so that new process can reuse the name.
|
||||
(if proc (delete-process proc))
|
||||
(let ((pass (ange-ftp-quote-string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue