From 0f73f822eda0b0f9ad615a4dd0f776775d823c16 Mon Sep 17 00:00:00 2001 From: Christopher Grim Date: Tue, 23 Dec 2008 01:34:15 -0500 Subject: [PATCH] highlight builtins for serial communication --- arduino-mode.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arduino-mode.el b/arduino-mode.el index 13f83a3..0f434b5 100644 --- a/arduino-mode.el +++ b/arduino-mode.el @@ -56,9 +56,14 @@ "sin" "cos" "tan" ; Trigonometry "randomSeed" "random" ; Random Numbers "attachInterrupt" "detachInterrupt" ; External Interrupts - "interrupts" "noInterrupts") ; Interrupts + "interrupts" "noInterrupts" ; Interrupts + "begin" "available" "read" "flush" "print" "println") ; Serial Communication (c-lang-const c-simple-stmt-kwds))) +(c-lang-defconst c-primary-expr-kwds + arduino (append '("Serial") + (c-lang-const c-primary-expr-kwds))) + (defgroup arduino nil "Arduino mode customizations") (defcustom arduino-font-lock-extra-types nil