Setup jinx dictionaries, and some refactoring
This commit is contained in:
parent
c5c0523606
commit
a92673b727
3 changed files with 26 additions and 10 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue