emacs: check if set-temporary-overlay-map is supported
emacs: fix latency on win32