aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert2017-02-01 15:18:43 -0800
committerPaul Eggert2017-02-01 15:23:19 -0800
commit33be50037c2b4cdb002538534e9915c6bad253b7 (patch)
tree04a387a7afb86c86c4eaea71175d6d9fd1c37047 /src/bytecode.c
parent94ad13b93c6fc099a353c8eb27c00a68ee79a952 (diff)
downloademacs-33be50037c2b4cdb002538534e9915c6bad253b7.tar.gz
emacs-33be50037c2b4cdb002538534e9915c6bad253b7.zip
Remove immediate_quit.
The old code that sets and clears immediate_quit was ineffective except when Emacs is running in terminal mode, and has problematic race conditions anyway, so remove it. This will introduce some hangs when Emacs runs in terminal mode, and these hangs should be fixed in followup patches. * src/keyboard.c (immediate_quit): Remove. All uses removed.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 499fb881e2e..ed58d18c618 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -842,10 +842,8 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
842 Lisp_Object v2 = POP, v1 = TOP; 842 Lisp_Object v2 = POP, v1 = TOP;
843 CHECK_NUMBER (v1); 843 CHECK_NUMBER (v1);
844 EMACS_INT n = XINT (v1); 844 EMACS_INT n = XINT (v1);
845 immediate_quit = true;
846 while (--n >= 0 && CONSP (v2)) 845 while (--n >= 0 && CONSP (v2))
847 v2 = XCDR (v2); 846 v2 = XCDR (v2);
848 immediate_quit = false;
849 TOP = CAR (v2); 847 TOP = CAR (v2);
850 NEXT; 848 NEXT;
851 } 849 }
@@ -1276,10 +1274,8 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
1276 Lisp_Object v2 = POP, v1 = TOP; 1274 Lisp_Object v2 = POP, v1 = TOP;
1277 CHECK_NUMBER (v2); 1275 CHECK_NUMBER (v2);
1278 EMACS_INT n = XINT (v2); 1276 EMACS_INT n = XINT (v2);
1279 immediate_quit = true;
1280 while (--n >= 0 && CONSP (v1)) 1277 while (--n >= 0 && CONSP (v1))
1281 v1 = XCDR (v1); 1278 v1 = XCDR (v1);
1282 immediate_quit = false;
1283 TOP = CAR (v1); 1279 TOP = CAR (v1);
1284 } 1280 }
1285 else 1281 else