[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VM 8.2.0b: vm-pcrisis.el - fails to compile in emacs 26.3 - "&option
From: |
Diagon |
Subject: |
Re: VM 8.2.0b: vm-pcrisis.el - fails to compile in emacs 26.3 - "&optional &rest" |
Date: |
Mon, 03 May 2021 20:13:08 -0700 |
User-agent: |
Zoho Mail |
---- On Mon, 03 May 2021 19:12:03 -0700 Diagon <nongnu.org@niwas.net> wrote
----
> VM 8.2.0b and emacs 26.3. Running make on the lisp files fails on
> vm-pcrisis:
>
> vm-pcrisis.el:1217:28:Error: Variable name missing after &optional
> make: *** [Makefile:114: vm-pcrisis.elc] Error 1
That error appears in emacs' bytecomp.el, in the function
byte-compile-check-lambda-list. There have been recent changes to that
function, which appear some time before emacs 28. That error message is removed.
https://github.com/emacs-mirror/emacs/blob/master/lisp/emacs-lisp/bytecomp.el
So I'm not clear if I have any choice but to migrate to a newer version of
emacs? Or is there some other way around this? Is it possible to just upgrade
the emacs lisp files?
> It appears it doesn't like "&optional &rest" in the function
> vmpc-none-true-yet. Does anyone have a suggestion of how to fix?
>
> This is Ubuntu 20.04. Oddly I was using emacs 26.3 on Ubuntu 16.04 and
> didn't have any trouble there.
>
> /D
>
> PS. Lines 229 and 236 have been inserted by mistake, creating a warning.