Setup jinx dictionaries, and some refactoring

This commit is contained in:
Tobias Ostner 2026-05-03 18:46:26 +02:00
parent c5c0523606
commit a92673b727
3 changed files with 26 additions and 10 deletions

View file

@ -5,3 +5,11 @@
(with-current-buffer buffer
(view-mode +1)
(select-window (get-buffer-window buffer)))))
(defun to/toggle-delete-other-windows ()
"Delete other windows, or restore the previous window configuration."
(interactive)
(if (and winner-mode
(one-window-p t))
(winner-undo)
(delete-other-windows)))