modify emacs invocation condition