emacs-devel
[Top][All Lists]
Advanced

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

Re: Unsafe local variable in eglot.el


From: João Távora
Subject: Re: Unsafe local variable in eglot.el
Date: Thu, 09 Mar 2023 13:12:23 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

Tassilo Horn <tsdh@gnu.org> writes:

> Not sure what to do here.  Maybe adding an autoload-cookie to
> eglot--debbugs-or-github-bug-uri does the trick?  Of course, then you
> cannot find eglot.el without loading it at the same time...

See my 01b65d442a commit to Emacs 29.  It's autoloading a "progn" block
in eglot.el.  So visiting the file with bug-reference-mode does trigger
a call to the helper function, which now exists.  But that call by
itself won't cause eglot.el to to be loaded.  It's not very elegant, but
it does solve the program effectively, I think (and the links work, of
course).

João



reply via email to

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