* bug#21377: M-x disassemble fails on non-byte compiled functions with lexical bindings
@ 2015-08-29 19:41 Paul Pogonyshev
2015-09-03 19:15 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Paul Pogonyshev @ 2015-08-29 19:41 UTC (permalink / raw)
To: 21377
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
Disassembling works on byte-compiled functions and functions evaluated in
buffers without lexical bindings. If you try to disassemble a function
evaluated with lexical bindings, it fails with error "disassemble-internal:
not a function".
To reproduce:
* M-x disassemble RET gv-get RET --> works (assuming it is loaded from
'gv.elc')
* Go to gv-get definition and eval it explicitly
* M-x disassemble RET gv-get RET --> fails
Paul
[-- Attachment #2: Type: text/html, Size: 559 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-03 19:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-29 19:41 bug#21377: M-x disassemble fails on non-byte compiled functions with lexical bindings Paul Pogonyshev
2015-09-03 19:15 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.