aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPhilipp Stephani2017-06-11 14:50:20 +0200
committerPhilipp Stephani2017-06-11 14:54:05 +0200
commit9a86966edb5ce760976bd7ce36c92e3b4eb0705d (patch)
tree8c29344501f197643f28127143adec165d8805b7 /test
parentcf557fa9c53bb8795ddc744319e067515a9dba67 (diff)
downloademacs-9a86966edb5ce760976bd7ce36c92e3b4eb0705d.tar.gz
emacs-9a86966edb5ce760976bd7ce36c92e3b4eb0705d.zip
Allow non-local exits in module initializers
Previously signals, throws, and quits from module initialization functions were ignored. These function aren't special, and better errors can be reported using signals than with the initialization return code, so allow non-local exits. * src/emacs-module.c (module_signal_or_throw): New helper function. (Fmodule_load, funcall_module): Use it. (Fmodule_load): Also allow quitting.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions