diff options
Diffstat (limited to 'bufferlo.el')
| -rw-r--r-- | bufferlo.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bufferlo.el b/bufferlo.el index 3f52e8d..5cadee2 100644 --- a/bufferlo.el +++ b/bufferlo.el @@ -1960,6 +1960,11 @@ argument INTERNAL-TOO is non-nil." ;; delete windows *and* their frame so we have to test if ;; the frame in question is still live. (when (frame-live-p frame) + ;; Something could go wrong while trying to delete the frame. + ;; Since we already killed all buffers we disconnect the bookmark. + ;; This prevents the auto-save feature from overwriting an existing + ;; bookmark with the empty buffer list. + (set-frame-parameter frame 'bufferlo-bookmark-frame-name nil) ;; TODO: Emacs 30 frame-deletable-p ;; account for top-level, non-child frames (when (= 1 (length (seq-filter |
