summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-07-25 23:23:19 +0200
committerPhilipp Stephani <phst@google.com>2020-07-25 23:23:19 +0200
commit9f01ce6327af886f26399924a9aadf16cdd4fd9f (patch)
treea363d2673c61ac60183457965462b05b8b867f4b /lisp/emacs-lisp/cursor-sensor.el
parent6355a3ec62f43c9b99d483982ff851d32dd78891 (diff)
downloademacs-9f01ce6327af886f26399924a9aadf16cdd4fd9f.tar.gz
emacs-9f01ce6327af886f26399924a9aadf16cdd4fd9f.tar.bz2
emacs-9f01ce6327af886f26399924a9aadf16cdd4fd9f.zip
Make checking for liveness of global values more precise.
We can't just use a hash lookup because a global and a local reference might refer to the same Lisp object. * src/emacs-module.c (module_free_global_ref): More precise check for global liveness. * test/data/emacs-module/mod-test.c (Fmod_test_globref_invalid_free): New test module function. (emacs_module_init): Export it. * test/src/emacs-module-tests.el (module--test-assertions--globref-invalid-free): New unit test.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions