Subject: bug#8942: 23.3; emacsclient doesn't exit when called Emacs function is quited.

From: Stefan Monnier <[email-masked]>
Date: Mon, 04 Jul 2011 13:57:33 -0400

>> Returning a -error would be fine, yes.
> But if server-execute catches quit, the whole with-local-quit is not
> necessary anymore, is it?

No.  with-local-quit is about enabling quit locally much more than about
confining quit (confining quit is just one of the necessary tasks of
enabling quit locally).
So if you want to remove with-local-quit, you need to add a let-binding
of inhibit-quit to nil within your condition-case.

        Stefan