aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorGerd Moellmann1999-07-21 21:43:52 +0000
committerGerd Moellmann1999-07-21 21:43:52 +0000
commit48f8dfa38dee9b000f56f2bd65aeffe6cde59bfb (patch)
treee108620aacb01746fd90d422d8ec935390c9b923 /src/eval.c
parentd70392acd44d4a040c05aed7c4175944525e266c (diff)
downloademacs-48f8dfa38dee9b000f56f2bd65aeffe6cde59bfb.tar.gz
emacs-48f8dfa38dee9b000f56f2bd65aeffe6cde59bfb.zip
(Fsignal): Reset redisplaying_p to zero.
(Fsignal): Hide busy cursor. (Feval): Check interrupt_input_block == 0. (Fsignal): Call to quit_error_check removed.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index b9a89374236..80d45a0060f 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1218,8 +1218,9 @@ See also the function `condition-case'.")
1218 Lisp_Object string; 1218 Lisp_Object string;
1219 Lisp_Object real_error_symbol; 1219 Lisp_Object real_error_symbol;
1220 Lisp_Object combined_data; 1220 Lisp_Object combined_data;
1221 extern int display_busy_cursor_p;
1222 extern int redisplaying_p;
1221 1223
1222 quit_error_check ();
1223 immediate_quit = 0; 1224 immediate_quit = 0;
1224 if (gc_in_progress || waiting_for_input) 1225 if (gc_in_progress || waiting_for_input)
1225 abort (); 1226 abort ();
@@ -1231,6 +1232,12 @@ See also the function `condition-case'.")
1231 else 1232 else
1232 real_error_symbol = error_symbol; 1233 real_error_symbol = error_symbol;
1233 1234
1235#ifdef HAVE_X_WINDOWS
1236 if (display_busy_cursor_p)
1237 Fx_hide_busy_cursor (Qt);
1238#endif
1239 redisplaying_p = 0;
1240
1234 /* This hook is used by edebug. */ 1241 /* This hook is used by edebug. */
1235 if (! NILP (Vsignal_hook_function)) 1242 if (! NILP (Vsignal_hook_function))
1236 call2 (Vsignal_hook_function, error_symbol, data); 1243 call2 (Vsignal_hook_function, error_symbol, data);
@@ -1696,6 +1703,11 @@ DEFUN ("eval", Feval, Seval, 1, 1, 0,
1696 struct backtrace backtrace; 1703 struct backtrace backtrace;
1697 struct gcpro gcpro1, gcpro2, gcpro3; 1704 struct gcpro gcpro1, gcpro2, gcpro3;
1698 1705
1706 /* Since Fsignal resets this to 0, it had better be 0 now
1707 or else we have a potential bug. */
1708 if (interrupt_input_blocked != 0)
1709 abort ();
1710
1699 if (SYMBOLP (form)) 1711 if (SYMBOLP (form))
1700 { 1712 {
1701 if (EQ (Vmocklisp_arguments, Qt)) 1713 if (EQ (Vmocklisp_arguments, Qt))