changeset 5722:fffa15138019

Don't complain about throws out of `post-command-hook'. 2013-02-22 Michael Sperber <mike@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.
author Mike Sperber <sperber@deinprogramm.de>
date Fri, 22 Feb 2013 16:18:37 +0100
parents cc852bdbdbaa
children b3a2bff825c8 ede80ef92a74
files src/ChangeLog src/event-stream.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Feb 20 11:15:25 2013 +0100
+++ b/src/ChangeLog	Fri Feb 22 16:18:37 2013 +0100
@@ -1,3 +1,9 @@
+2013-02-22  Michael Sperber  <mike@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.
+
 2013-02-04  Vin Shelton  <acs@xemacs.org>
 
 	* syswindows.h: Fix the cygwin build by supporting win32api 3.14
--- a/src/event-stream.c	Wed Feb 20 11:15:25 2013 +0100
+++ b/src/event-stream.c	Fri Feb 22 16:18:37 2013 +0100
@@ -4364,7 +4364,7 @@
 
   safe_run_hook_trapping_problems
     (Qcommand, Qpost_command_hook,
-     0);
+     NO_INHIBIT_THROWS);
 
 #if 0 /* FSF Emacs */
   if (!NILP (current_buffer->mark_active))