mattfidler / nsis-mode

NSIS mode for editing NSIS files
10 stars 7 forks source link

void-variable nsis-start-keywords #16

Open rjmxrjmx opened 8 months ago

rjmxrjmx commented 8 months ago

Worked fine when I installed it from elpa. However, if I shut down Emacs and, later, restart it, going to a .nsi file gets me an error: File mode specification error: (void-variable nsis-start-keywords) defvar: Symbol’s value as variable is void: nsis-start-keywords File mode specification error: (void-variable nsis-start-keywords) [2 times] Only way I can recover from this that I've found so far is by re-installing nsis mode from elpa. This is using Emacs 29.1 on Windows 11.

mattfidler commented 8 months ago

I think it has to do with compiling, though I haven't used this for awhile.

The nsis from elpa should match this revision.

gicrisf commented 8 months ago

I encountered the same problem on Windows 11 through WSL 1

gavv commented 4 months ago

Can reproduce on debian in emacs 28.2.

I'm using straight, removing straight/build/nsis-mode/nsis-mode.elc and restarting emacs fixes the problem.