The following errors appear in Messages, and the mode doesn't start:
Eval error in the ‘c-lang-defconst’ for ‘c-constant-kwds’ in arduino-mode:
Eval error in the ‘c-lang-defconst’ for ‘c-basic-matchers-before’ in arduino-mode:
Eval error in the ‘c-lang-defconst’ for ‘c-matchers-2’ in arduino-mode:
c-get-lang-constant: Invalid function: (append (quote ("HIGH" "LOW" "INPUT" "OUTPUT" "INPUT_PULLUP" "LED_BUILTIN" "true" "false")) (c-get-lang-constant (quote c-constant-kwds) (quote (cc-langs))))
Emacs:
GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.6) of 2015-12-29
Turns out I had several old versions of arduino-mode installed at once. Cleaning out my elpa directory and restarting fixed the 'problem'. Sorry for the noise.
Steps to reproduce:
emacs -Q
Evaluate the following code to load
arduino-mode
and no other packages:Turn on mode with
M-x arduino-mode
.The following errors appear in Messages, and the mode doesn't start:
Emacs: GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.6) of 2015-12-29
arduino-mode (from melpa): ;; Package-Version: 20151017.2335 ;; Version: 1.0