add path
change LC_CTYPE
change for emacs 24.x