defuns: do not update emacs frames when it is not running