diff options
author | Philipp Stephani <phst@google.com> | 2017-06-11 14:50:20 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2017-06-11 14:54:05 +0200 |
commit | 9a86966edb5ce760976bd7ce36c92e3b4eb0705d (patch) | |
tree | 8c29344501f197643f28127143adec165d8805b7 /lisp/textmodes/css-mode.el | |
parent | cf557fa9c53bb8795ddc744319e067515a9dba67 (diff) | |
download | emacs-9a86966edb5ce760976bd7ce36c92e3b4eb0705d.tar.gz |
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 'lisp/textmodes/css-mode.el')
0 files changed, 0 insertions, 0 deletions