alphapapa / burly.el

Save and restore frames and windows with their buffers in Emacs
GNU General Public License v3.0
301 stars 14 forks source link

burly-open-bookmark fails when called immediately after delete-other-windows #33

Closed dkmestre95 closed 1 month ago

dkmestre95 commented 3 years ago

Running the function burly-open-bookmark immediately after calling delete-other-windows fails to open the selected layout. Instead, what happens is one window is opened horizontally (as with split-window-below), and I'm presented with the following error:

Wrong type argument: window-live-p, nil

To replicate this, do the following:

  1. Open any number of windows.
  2. Run delete-other-windows
  3. Run burly-open-bookmark
  4. Select a bookmark to open (whether it be newly created or not)
dkmestre95 commented 3 years ago

Also for clarity, running burly-open-bookmark immediately after encountering this error will open the layout as intended. Hope this helps.

alphapapa commented 3 years ago

Can you reproduce this problem in a clean Emacs config? I can't. If you can, please report the versions of Emacs and of this package.