File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ should return the fine adjustment (default 1)."
138
138
(?W resize-window--cycle-window-negative " Resize - cycle window" nil )
139
139
(?2 resize-window--split-window-below " Split window horizontally" nil )
140
140
(?3 resize-window--split-window-right " Slit window vertically" nil )
141
- (?0 resize-window--delete-window " Delete window" nil )
141
+ (?0 resize-window--delete-window " Delete window (save state) " nil )
142
142
(?k resize-window--kill-other-windows " Kill other windows (save state)" nil )
143
143
(?y resize-window--restore-windows " (when state) Restore window configuration" nil )
144
144
(?? resize-window--display-menu " Resize - toggle help menu" nil ))
@@ -376,6 +376,7 @@ ACTION is a symbol of value 'kill or 'open."
376
376
(defun resize-window--delete-window ()
377
377
" Delete the current window."
378
378
(unless (eq (get-buffer-window ) (window-main-window ))
379
+ (resize-window--window-push)
379
380
(delete-window )
380
381
(resize-window--add-backgrounds)))
381
382
You can’t perform that action at this time.
0 commit comments