3

I am using aquamacs and latex mode, 'Symbol’s value as variable is void: last-command-char when trying to insert bracket' occurs when I am trying to insert a bracket.

How could I do, thank you

Raymond
  • 93
  • 7
  • 1
    Do you use AUCTeX? In any case, you should provide more information on how to reproduce the problem. Do you have custom settings in your init file? If so, you should not load it in order to see if the problem persists also in that case. I don't know how to do it with aquamacs, though. – giordano Oct 19 '16 at 06:59

1 Answers1

6

last-command-char was a variable made obsolete in Emacs-19.34 when it was replaced by last-command-event (because in older Emacsen, events were only characters). It was finally removed in Emacs-24.

So some Elisp code you're using still refers to that variable and needs to be updated. Just grep for that name in your files to see which thing needs to be updated.

Stefan
  • 26,154
  • 3
  • 46
  • 84