summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/pcase.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-07-25 23:04:05 +0200
committerPhilipp Stephani <phst@google.com>2020-07-31 18:18:27 +0200
commit8c94ca94dc2772e5c651de6cf46bfffc388234d5 (patch)
tree2ebdcfd487f06afd5aa3b66102b18b2f3f7cd9ac /lisp/emacs-lisp/pcase.el
parent8ecca2f09f6bc387412f258c4fc4e3ddf807b2b3 (diff)
downloademacs-8c94ca94dc2772e5c651de6cf46bfffc388234d5.tar.gz
emacs-8c94ca94dc2772e5c651de6cf46bfffc388234d5.tar.bz2
emacs-8c94ca94dc2772e5c651de6cf46bfffc388234d5.zip
Backport: Fix subtle bug when checking liveness of module values.
We can't simply look up the Lisp object in the global reference table because an invalid local and a valid global reference might refer to the same object. Instead, we have to test the address of the global reference against the stored references. * src/emacs-module.c (module_global_reference_p): New helper function. (value_to_lisp): Use it. (cherry picked from commit 6355a3ec62f43c9b99d483982ff851d32dd78891)
Diffstat (limited to 'lisp/emacs-lisp/pcase.el')
0 files changed, 0 insertions, 0 deletions