interprogram-paste-function compatibility for emacs 2.4