Open jacklincoln opened 7 years ago
When using emacsclient if you delete the frame with ranger open, ranger doesn't close and upon opening a new frame there are left over buffers and ranger doesnt work properly.
Perhaps an uncommon scenario but this solves it for me:
(add-hook 'delete-frame-functions (lambda (frame) (ranger-close)))
Will look into, thanks for creating the issue.
When using emacsclient if you delete the frame with ranger open, ranger doesn't close and upon opening a new frame there are left over buffers and ranger doesnt work properly.
Perhaps an uncommon scenario but this solves it for me:
(add-hook 'delete-frame-functions (lambda (frame) (ranger-close)))