Closed JohnC32 closed 1 month ago
I just tried this with a fresh install of emacs 27.2 on Ubuntu 24.04 and am unable to reproduce this error. Here's a video of me using it on emacs 27.2. Screencast from 2024-10-22 12-23-52.webm
Could you provide some more details?
The error showed up in the tests (make EMACS=/path/to/emacs27/bin/emacs). It was due to the fact that we start emacs in minimal mode (-Q) which means subr-x wasn't required and thus if-let causes the invalid-function. I fixed this by adding (require 'subr-x)
.
See commit 0d431b5
Build using Emacs 27, then load any file.m and you'll see:
Also the tests don't pass.
For now, I'll disable matlab-cell in matlab.el for Emacs 27, but it would be good to fix this.