diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/jao-eww-session.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/net/jao-eww-session.el b/lib/net/jao-eww-session.el index b0dfc46..c9e8a35 100644 --- a/lib/net/jao-eww-session.el +++ b/lib/net/jao-eww-session.el @@ -92,6 +92,10 @@ the session is already displayed in a eww tab, jao-eww-session can: (with-current-buffer b (derived-mode-p 'eww-mode)))) (buffer-list))) +(defun jao-eww-session-invisible-buffers () + (seq-filter (lambda (b) (null (get-buffer-window b))) + (jao-eww-session--list-buffers (current-buffer)))) + (defun jao-eww--current-url () (when-let (url (eww-current-url)) (url-encode-url url))) |