Use ~rtog/goto-buffer-fun~.