Friday, June 26, 2009

Emacs To Maya

I started using Emacs To Maya.
Now modifying it to send Python scripts (Half done, thinking about how to get the value printed in the command history).

Ah, I added the following script to .emacs before

'mel-mode-hook ...

to avoid

Symbol's function definition is void: replace-in-string


(if (not (fboundp 'replace-in-string))
(defun replace-in-string (string regexp replacement &optional literal)
"Replace regex in string with replacement"
(replace-regexp-in-string regexp replacement string t literal)))

(got it here)
For those who has seen the same error.