mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Continue the metaphor
This commit is contained in:
parent
db9effd86d
commit
ea7055cebe
1 changed files with 3 additions and 2 deletions
|
|
@ -45,8 +45,9 @@
|
|||
;; This basically means that we don't change window configurations when
|
||||
;; there are previous buffers to be seen. IDK if this will have unintended
|
||||
;; consequences, because...
|
||||
(when (zerop (length (window-prev-buffers)))
|
||||
(delete-window))
|
||||
(if (zerop (length (window-prev-buffers)))
|
||||
(delete-window)
|
||||
(previous-buffer))
|
||||
;; current-window-configuration will encode a buffer that's about to be
|
||||
;; deleted. I tested it, and it does what I want, so maybe there's no
|
||||
;; problem?
|
||||
|
|
|
|||
Loading…
Reference in a new issue