"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
behavior. But:
I don't know if it will help, but the patch below seems like a
better
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.
--
Regards,
Mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta