diff options
| author | Paul Eggert | 2011-12-10 16:56:50 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-12-10 16:56:50 -0800 |
| commit | 8f50130c565eaf0ad7c49e4ad044c3291ecdfa71 (patch) | |
| tree | c8129448cbbf387fe82667ccac02983592c688f1 /src/eval.c | |
| parent | 85a83e2e2585a1906dec5168ed96ad521b5849ed (diff) | |
| parent | 7b9d523a07395ecea505be88f45c33d73aea7038 (diff) | |
| download | emacs-8f50130c565eaf0ad7c49e4ad044c3291ecdfa71.tar.gz emacs-8f50130c565eaf0ad7c49e4ad044c3291ecdfa71.zip | |
Merge from trunk.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index c6bf2ccef1d..b604df8f35b 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1601,6 +1601,18 @@ static Lisp_Object find_handler_clause (Lisp_Object, Lisp_Object); | |||
| 1601 | static int maybe_call_debugger (Lisp_Object conditions, Lisp_Object sig, | 1601 | static int maybe_call_debugger (Lisp_Object conditions, Lisp_Object sig, |
| 1602 | Lisp_Object data); | 1602 | Lisp_Object data); |
| 1603 | 1603 | ||
| 1604 | void | ||
| 1605 | process_quit_flag (void) | ||
| 1606 | { | ||
| 1607 | Lisp_Object flag = Vquit_flag; | ||
| 1608 | Vquit_flag = Qnil; | ||
| 1609 | if (EQ (flag, Qkill_emacs)) | ||
| 1610 | Fkill_emacs (Qnil); | ||
| 1611 | if (EQ (Vthrow_on_input, flag)) | ||
| 1612 | Fthrow (Vthrow_on_input, Qt); | ||
| 1613 | Fsignal (Qquit, Qnil); | ||
| 1614 | } | ||
| 1615 | |||
| 1604 | DEFUN ("signal", Fsignal, Ssignal, 2, 2, 0, | 1616 | DEFUN ("signal", Fsignal, Ssignal, 2, 2, 0, |
| 1605 | doc: /* Signal an error. Args are ERROR-SYMBOL and associated DATA. | 1617 | doc: /* Signal an error. Args are ERROR-SYMBOL and associated DATA. |
| 1606 | This function does not return. | 1618 | This function does not return. |
| @@ -3701,7 +3713,7 @@ When lexical binding is not being used, this variable is nil. | |||
| 3701 | A value of `(t)' indicates an empty environment, otherwise it is an | 3713 | A value of `(t)' indicates an empty environment, otherwise it is an |
| 3702 | alist of active lexical bindings. */); | 3714 | alist of active lexical bindings. */); |
| 3703 | Vinternal_interpreter_environment = Qnil; | 3715 | Vinternal_interpreter_environment = Qnil; |
| 3704 | /* Don't export this variable to Elisp, so noone can mess with it | 3716 | /* Don't export this variable to Elisp, so no one can mess with it |
| 3705 | (Just imagine if someone makes it buffer-local). */ | 3717 | (Just imagine if someone makes it buffer-local). */ |
| 3706 | Funintern (Qinternal_interpreter_environment, Qnil); | 3718 | Funintern (Qinternal_interpreter_environment, Qnil); |
| 3707 | 3719 | ||