diff options
Diffstat (limited to 'src/emacs-module.c')
| -rw-r--r-- | src/emacs-module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c index 0abfd3f6f16..282012770eb 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c | |||
| @@ -665,13 +665,13 @@ module_vec_size (emacs_env *env, emacs_value vec) | |||
| 665 | return ASIZE (lvec); | 665 | return ASIZE (lvec); |
| 666 | } | 666 | } |
| 667 | 667 | ||
| 668 | /* This function should return true if and only if maybe_quit would do | 668 | /* This function should return true if and only if maybe_quit would |
| 669 | anything. */ | 669 | quit. */ |
| 670 | static bool | 670 | static bool |
| 671 | module_should_quit (emacs_env *env) | 671 | module_should_quit (emacs_env *env) |
| 672 | { | 672 | { |
| 673 | MODULE_FUNCTION_BEGIN_NO_CATCH (false); | 673 | MODULE_FUNCTION_BEGIN_NO_CATCH (false); |
| 674 | return (! NILP (Vquit_flag) && NILP (Vinhibit_quit)) || pending_signals; | 674 | return QUITP; |
| 675 | } | 675 | } |
| 676 | 676 | ||
| 677 | 677 | ||