Remove save-window-excursion from export function.