diff options
author | Björn Bidar <bjorn.bidar@thaodan.de> | 2023-10-05 21:24:08 +0300 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2023-12-31 10:59:18 +0100 |
commit | 20b41bfa9512cc643c23b8e3d8062c8bebf0be79 (patch) | |
tree | 1586b2dab05f3c61983c7c3c703f611fdcd8bea2 /fixture/empty.plstore | |
parent | 3437dbbeeaa340e85ad1f2e9108469761c3e1aa6 (diff) |
Avoid error when there's only one window in a frame when closing window
Use `(quit-window 'kill)` instead of `(kill-buffer-and-window)` to
avoid error when there's only one window instead the frame:
`kill-buffer-and-window: Attempt to delete minibuffer or sole ordinary window`
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Diffstat (limited to 'fixture/empty.plstore')
0 files changed, 0 insertions, 0 deletions