emacs-devel
[Top][All Lists]
Advanced

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

Re: Reference to free variable ‘xterm-mouse-mode-called’


From: Eli Zaretskii
Subject: Re: Reference to free variable ‘xterm-mouse-mode-called’
Date: Sun, 05 Jan 2025 08:37:48 +0200

> Date: Sat, 04 Jan 2025 14:03:57 -0800
> From: Jared Finder <jared@finder.org>
> Cc: Yuan Fu <casouri@gmail.com>, emacs-devel@gnu.org
> 
> On 2025-01-04 12:36, Eli Zaretskii wrote:
> >> From: Yuan Fu <casouri@gmail.com>
> >> Date: Sat, 4 Jan 2025 11:56:06 -0800
> >> 
> >> I’m seeing
> >> 
> >> In xterm--init:
> >> term/xterm.el:966:19: Warning: reference to free variable 
> >> ‘xterm-mouse-mode-called’
> >> 
> >> when building master. Is this something to be concerned about?
> > 
> > On what OS?
> > 
> > I don't get that.  If you "touch xterm.el" and rebuild, do you still
> > see it?
> > 
> > Jared, maybe we need a defvar in xtern.el?
> 
> I don't get this warning either and I just did a clean build. I marked 
> xterm-mouse-mode-called with ;;;autoload therefore I expect it to always 
> be available (unless I'm misunderstanding what ;;;autoload does to 
> defvar expressions).

If it's autoloaded, I think this warning is a one-time thing, when the
file is compiled before the autoloads are updated.



reply via email to

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