"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Michael Sperber writes:
> > (23) (error/warning) Error in `pre-command-hook' (resetting to nil):
Attempt to throw outside of function:To catch `exit' with value `nil'
> I'm pretty sure I fixed that one here (post-b33):
> 2013-02-22 Michael Sperber <mike(a)xemacs.org>
> * event-stream.c (post_command_hook): Don't complain about throws
> out of `post-command-hook'. This is quite common, for example to
> exit the minibuffer.
Mike K. is seeing a throw out of PRE-command-hook, not POST-command-hook.
Good point - sorry for missing it.
Are you sure this approach of just suppressing the warning is a good
idea? What Mike K is seeing seems to be an issue with isearch
thinking it's in a recursive edit when it's not.
It's hard to say since it's difficult to find specs wrt. to such
I don't know if it will help, but the patch below seems like a
idea to me.
If it helps, I agree. Otherwise, doing for pre-command-hook as for
post-command-hook might restore the pre-21.5 behavior.
XEmacs-Beta mailing list