diff options
author | Philipp Stephani <phst@google.com> | 2017-04-22 16:51:44 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2017-06-11 15:24:05 +0200 |
commit | 8160c7d914882b40badf9eb8e4792da1b313745e (patch) | |
tree | ff2dfc4192fe6f677f36b3b785b84d87abb2935d /lisp/emacs-lisp/subr-x.el | |
parent | 9a86966edb5ce760976bd7ce36c92e3b4eb0705d (diff) | |
download | emacs-8160c7d914882b40badf9eb8e4792da1b313745e.tar.gz emacs-8160c7d914882b40badf9eb8e4792da1b313745e.tar.bz2 emacs-8160c7d914882b40badf9eb8e4792da1b313745e.zip |
Support threads in modules
Rather than checking for the main thread, check for the current
thread.
* emacs-module.c (check_thread): New function.
(MODULE_FUNCTION_BEGIN_NO_CATCH, module_get_environment)
(module_non_local_exit_check, module_non_local_exit_clear)
(module_non_local_exit_get, module_non_local_exit_signal)
(module_non_local_exit_throw, module_is_not_nil, module_eq): Use it.
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
0 files changed, 0 insertions, 0 deletions