From: Chong Yidong Date: Wed, 17 Aug 2011 21:40:13 +0000 (-0400) Subject: Remove aborts from internal_condition_case*. X-Git-Tag: emacs-pretest-24.0.90~104^2~124^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=72ad093b970be68fea2224dd17239b006ede6fba;p=emacs.git Remove aborts from internal_condition_case*. * src/eval.c (internal_condition_case, internal_condition_case_1) (internal_condition_case_2, internal_condition_case_n): Remove unnecessary aborts. Fixes: debbugs:9081 --- diff --git a/src/ChangeLog b/src/ChangeLog index 2aa0e157afe..1ffc464ce5c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2011-08-17 Chong Yidong + + * eval.c (internal_condition_case, internal_condition_case_1) + (internal_condition_case_2, internal_condition_case_n): Remove + unnecessary aborts (Bug#9081). + 2011-08-17 Eli Zaretskii * lread.c (Fload) [DOS_NT]: If `openp' returns -2, but the file @@ -61,7 +67,7 @@ 2011-08-14 Kenichi Handa * process.c (create_process): Call setup_process_coding_systems - after the pid of the process is set to -1. + after the pid of the process is set to -1 (Bug#8162). 2011-08-14 Eli Zaretskii diff --git a/src/eval.c b/src/eval.c index ef169e80e27..e37425020c9 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1461,13 +1461,6 @@ internal_condition_case (Lisp_Object (*bfun) (void), Lisp_Object handlers, struct catchtag c; struct handler h; - /* Since Fsignal will close off all calls to x_catch_errors, - we will get the wrong results if some are not closed now. */ -#if HAVE_X_WINDOWS - if (x_catching_errors ()) - abort (); -#endif - c.tag = Qnil; c.val = Qnil; c.backlist = backtrace_list; @@ -1506,13 +1499,6 @@ internal_condition_case_1 (Lisp_Object (*bfun) (Lisp_Object), Lisp_Object arg, struct catchtag c; struct handler h; - /* Since Fsignal will close off all calls to x_catch_errors, - we will get the wrong results if some are not closed now. */ -#if HAVE_X_WINDOWS - if (x_catching_errors ()) - abort (); -#endif - c.tag = Qnil; c.val = Qnil; c.backlist = backtrace_list; @@ -1555,13 +1541,6 @@ internal_condition_case_2 (Lisp_Object (*bfun) (Lisp_Object, Lisp_Object), struct catchtag c; struct handler h; - /* Since Fsignal will close off all calls to x_catch_errors, - we will get the wrong results if some are not closed now. */ -#if HAVE_X_WINDOWS - if (x_catching_errors ()) - abort (); -#endif - c.tag = Qnil; c.val = Qnil; c.backlist = backtrace_list; @@ -1604,13 +1583,6 @@ internal_condition_case_n (Lisp_Object (*bfun) (ptrdiff_t, Lisp_Object *), struct catchtag c; struct handler h; - /* Since Fsignal will close off all calls to x_catch_errors, - we will get the wrong results if some are not closed now. */ -#if HAVE_X_WINDOWS - if (x_catching_errors ()) - abort (); -#endif - c.tag = Qnil; c.val = Qnil; c.backlist = backtrace_list;