|
From: | Stefan Monnier |
Subject: | Re: unwind-protect and inhibit-quit |
Date: | Fri, 16 Jul 2021 17:37:51 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> (let ((inhibit-quit t)) >>> (setq process >>> (let ((inhibit-quit nil)) >>> (ftp-setup-buffer host file)))) >> >> No. The problem is not in the `setq` itself but in the fact that >> a non-local exit from `ftp-setup-buffer` (e.g. because of `C-g`) will >> cause `ftp-setup-buffer` not to return the process. > > But at which point is the ‘quit-flag’ actually handled? Doesn't matter. The problem can occur without any quit. If an error is signaled after creation of the process but before `ftp-setup-buffer` terminates, the same problem will occur. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |