emacs: fix a type error