diff options
| author | Philipp Stephani | 2017-06-04 19:34:22 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-06-04 19:50:52 +0200 |
| commit | 66da3f4afa53e5c5cfab17ca03a13a0d65083ffb (patch) | |
| tree | b045d1aa2009d66502f83ef5d599d0d94294acb9 /src/buffer.c | |
| parent | d37201722e2151df1f6b6fa1e2f33b5f91e27e03 (diff) | |
| download | emacs-66da3f4afa53e5c5cfab17ca03a13a0d65083ffb.tar.gz emacs-66da3f4afa53e5c5cfab17ca03a13a0d65083ffb.zip | |
Support quitting in modules
The idea is that modules should call env->should_quit from time to
time and return as quickly as possible if it returns true.
* src/emacs-module.c (module_should_quit): New module function.
(initialize_environment): Use it.
(funcall_module): Process potential pending quit.
* src/eval.c (maybe_quit): Add reference to module_should_quit.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions