BrettWitty / TADS-3-Mode-for-Emacs

(Ancient) TADS3 mode for Emacs
2 stars 2 forks source link

Error whenever I try to insert an '{' or '#' character #4

Closed alexispurslane closed 1 year ago

alexispurslane commented 1 year ago

The error is that last-command-char is nil. Can be avoided if you put a random non-whitespace character first and then insert the brace or hash. I'll will investigate and fix this hopefully the day after tomorrow (spent the previous few days improving the Inform 7 emacs plugin and I need a break now). This is more a reminder to myself unless you want to help.

BrettWitty commented 1 year ago

I'll have a brief look. I assume it's due to one of the TADS electric commands.

alexispurslane commented 1 year ago

I actually figured this one out. The variable its looking for was renamed in Emacs v24 and up. I just went in and renamed it and things work fine now