diff options
Diffstat (limited to 'eww.org')
-rw-r--r-- | eww.org | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -88,9 +88,9 @@ (interactive nil eww-mode) (when-let (current (eww-current-url)) (add-to-list 'jao-eww--closed-urls current)) - (kill-current-buffer) - (when-let (b (car (jao-eww-session--list-buffers))) - (switch-to-buffer b))) + (let ((nxt (car (jao-eww-session-invisible-buffers)))) + (kill-current-buffer) + (when nxt (switch-to-buffer nxt nil t)))) (defun jao-eww-reopen (arg) (interactive "P") |