diff options
author | Philipp Stephani <phst@google.com> | 2020-01-13 00:07:07 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2020-01-13 00:08:32 +0100 |
commit | 3252f3149673bbd6919d5d9a5a672e2f3730741d (patch) | |
tree | d3f77ec7ecf0595590f1f1f304fd6ea33ab9a1b7 /lisp/emacs-lisp/cursor-sensor.el | |
parent | 41d9d51cf5ac5b76c09802388e1691cf489d9d9d (diff) | |
download | emacs-3252f3149673bbd6919d5d9a5a672e2f3730741d.tar.gz emacs-3252f3149673bbd6919d5d9a5a672e2f3730741d.tar.bz2 emacs-3252f3149673bbd6919d5d9a5a672e2f3730741d.zip |
Use decode_string_utf_8 in emacs-module.c.
Now that decode_string_utf_8 is available, we can use it to signal
errors on invalid input.
* src/coding.c (syms_of_coding): Move Qutf_8_string_p from json.c
since it’s now used outside json.c.
* src/emacs-module.c (module_decode_utf_8): New helper function.
(module_make_function, module_copy_string_contents): Use it.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions