emacs.el: remove sexps to handle frames