[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55389: 28.1; vhdl-generate-makefile fails if there is not VHDL proje
From: |
Eli Zaretskii |
Subject: |
bug#55389: 28.1; vhdl-generate-makefile fails if there is not VHDL project |
Date: |
Tue, 17 May 2022 16:34:50 +0300 |
> Cc: 55389@debbugs.gnu.org
> Date: Fri, 13 May 2022 15:03:38 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > From: Cyril Arnould <cyril.arnould@outlook.com>
> > Date: Thu, 12 May 2022 19:13:15 +0000
> >
> > When visiting any VHDL file, trying to execute vhdl-generate-makefile
> > (C-c M-k) will fail if vhdl-project is nil. The resulting error message
> > and backtrace are as follows:
> >
> > vhdl-generate-makefile-1: Symbol’s value as variable is void: rule-alist
> >
> > Debugger entered--Lisp error: (void-variable rule-alist)
> > vhdl-aput(rule-alist "counter.vhd" (("counter") nil))
> > vhdl-generate-makefile-1()
> > vhdl-generate-makefile()
> > funcall-interactively(vhdl-generate-makefile)
> > command-execute(vhdl-generate-makefile)
> >
> > I suspect this might be due to changes when lexical-binding was enabled,
> > I went back to commit d365c947b53a2a1e4b43ab65922ebfeca23943d1 where it's
> > working.
>
> Yes, this is fallout from converting vhdl-mode.el to lexical-binding.
> I installed a fix on the emacs-28 branch. The patch I installed is
> below; please see if there are any issues left after applying it.
No further comments, so I'm closing this bug.