emacs-devel
[Top][All Lists]
Advanced

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

Can't M-x compile-defun `edebug' because dynamic variables are falsely t


From: Alan Mackenzie
Subject: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical.
Date: Tue, 3 Jan 2017 14:14:44 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Emacs.

I'm in Emacs 25.1.

I want to M-x compile-defun the function `edebug'.  When I attempt this,
I get the "warning" messages:

    Warning: Unused lexical variable `edebug-break'
    Warning: Unused lexical variable `edebug-global-break'
    Warning: Unused lexical variable `edebug-break-condition'
    Warning: Unused lexical variable `edebug-break-data'
    Warning: Unused lexical variable `edebug-breakpoints'

.  These variables are dynamic ones, declared earlier on in the file
like this:

    (defvar edebug-breakpoints)

, i.e. without initialising expressions.  I tried C-x C-e on each such
declaration, then repeating the compile-defun, to no avail.
lexical-binding is set in edebug.el.

Emacs should be able to compile successfully in such circumstances,
surely?.

What am I doing wrong, here?

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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