Commit cc04b18a7642e0a63ee0fc92b08494b46690c507

Removed empty functions, added interface to commander function in the form of processing-compile function
  
7373 (concat " --platform="
7474 (if platform platform (processing-platform)))))))
7575
76(defun processing-preprocess-sketch ()
77 "Preprocess a sketch into .java files."
78 ;(processing-commander "~/sketchbook/test" "~/sketchbook/test/output" "run")
79 t)
76(defun processing-compile (&optional cmd)
77 "Runs the Processing Commander application with the current
78buffer. The output directory is the sub-directory ``output''
79which will be found in the parent directory of the buffer file."
80 (interactive)
81 ;; TODO: Add support for temporary sketches
82 (let ((sketch-dir (file-name-directory buffer-file-name)))
83 (processing-commander sketch-dir (concat sketch-dir "output") (if cmd cmd "run"))))
8084
81(defun processing-build-sketch ()
82 "Preprocess and compile a sketch into .class files."
83 t)
84
85(defun processing-run-sketch ()
86 "Preprocess, compile, and run a Processing sketch."
87 t)
88
89(defun processing-present-sketch ()
90 "Preprocess, compile, and run a Processing sketch full screen."
91 t)
92
93(defun processing-export-applet ()
94 "Turns the Processing sketch into a Java applet."
95 t)
96
9785(defun processing-export-application ()
9886 "Turns the Processing sketch into a Java application. Assumes
9987that the platform target is whatever platform Emacs is running
9090
9191;; Key bindings
9292(define-key processing-mode-map
93 [C-c C-r] 'processing-run-sketch)
93 "\C-c\C-r" 'processing-compile)
9494
9595;; Font-lock, keywords
9696(defconst processing-font-lock-keywords-1