diff options
| author | Richard M. Stallman | 2004-12-02 23:36:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-02 23:36:53 +0000 |
| commit | 0b31741cdc1014fedcdca9aaed39d0173f847308 (patch) | |
| tree | e9ce9cc016236411157b557715cb6373a668d658 /src/eval.c | |
| parent | a99086536540778739279eff14cd4f01d0b9536c (diff) | |
| download | emacs-0b31741cdc1014fedcdca9aaed39d0173f847308.tar.gz emacs-0b31741cdc1014fedcdca9aaed39d0173f847308.zip | |
(Fcalled_interactively_p): Don't check INTERACTIVE.
(interactive_p): Skip Scalled_interactively_p frames
like Sinteractive_p frames.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c index 15b292d7d7e..4a63b022fd6 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -573,7 +573,7 @@ optional argument, and making the `interactive' spec specify non-nil | |||
| 573 | unconditionally for that argument. (`p' is a good way to do this.) */) | 573 | unconditionally for that argument. (`p' is a good way to do this.) */) |
| 574 | () | 574 | () |
| 575 | { | 575 | { |
| 576 | return (INTERACTIVE && interactive_p (1)) ? Qt : Qnil; | 576 | return interactive_p (1) ? Qt : Qnil; |
| 577 | } | 577 | } |
| 578 | 578 | ||
| 579 | 579 | ||
| @@ -595,7 +595,8 @@ interactive_p (exclude_subrs_p) | |||
| 595 | /* If this isn't a byte-compiled function, there may be a frame at | 595 | /* If this isn't a byte-compiled function, there may be a frame at |
| 596 | the top for Finteractive_p. If so, skip it. */ | 596 | the top for Finteractive_p. If so, skip it. */ |
| 597 | fun = Findirect_function (*btp->function); | 597 | fun = Findirect_function (*btp->function); |
| 598 | if (SUBRP (fun) && XSUBR (fun) == &Sinteractive_p) | 598 | if (SUBRP (fun) && (XSUBR (fun) == &Sinteractive_p |
| 599 | || XSUBR (fun) == &Scalled_interactively_p)) | ||
| 599 | btp = btp->next; | 600 | btp = btp->next; |
| 600 | 601 | ||
| 601 | /* If we're running an Emacs 18-style byte-compiled function, there | 602 | /* If we're running an Emacs 18-style byte-compiled function, there |
| @@ -1173,9 +1174,10 @@ unwind_to_catch (catch, value) | |||
| 1173 | /* Save the value in the tag. */ | 1174 | /* Save the value in the tag. */ |
| 1174 | catch->val = value; | 1175 | catch->val = value; |
| 1175 | 1176 | ||
| 1176 | /* Restore the polling-suppression count. */ | 1177 | /* Restore certain special C variables. */ |
| 1177 | set_poll_suppress_count (catch->poll_suppress_count); | 1178 | set_poll_suppress_count (catch->poll_suppress_count); |
| 1178 | interrupt_input_blocked = catch->interrupt_input_blocked; | 1179 | interrupt_input_blocked = catch->interrupt_input_blocked; |
| 1180 | handling_signal = 0; | ||
| 1179 | 1181 | ||
| 1180 | do | 1182 | do |
| 1181 | { | 1183 | { |