How to save and restore the selected window in Emacs Lisp? Sep 14, 2023 (save-selected-window (other-window 1) (insert "bar\n"))