emacs compatibility fix