modifications for emacs