emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Can't M-x compile-defun `edebug' because dynamic variables are false


From: Drew Adams
Subject: RE: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical.
Date: Wed, 4 Jan 2017 14:44:23 -0800 (PST)

I _almost_ wanted to offer this, as a way to check dynamic vs lexical:

`symbol-value', wrapping with `condition-case', checking for
`void-variable' error and returning `nil' in that case.

But if there are a dynamic var and a lexical var with the same name,
`symbol-value' just sees the former - no real way to test the latter.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]