summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-eww.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-01 00:08:14 +0100
committerjao <jao@gnu.org>2022-09-01 00:08:14 +0100
commit749905e3b35e784b8254d9efbe33ddef2cb1d776 (patch)
tree3bbf9b319fc0f3b6b1aed9dc4dc4441ca6ebe2f3 /custom/jao-custom-eww.el
parent1070a4ecb5c15933e80724bf93f785a9790a27cb (diff)
downloadelibs-749905e3b35e784b8254d9efbe33ddef2cb1d776.tar.gz
elibs-749905e3b35e784b8254d9efbe33ddef2cb1d776.tar.bz2
eww-session: don't try to open if there's eww buffers around
Diffstat (limited to 'custom/jao-custom-eww.el')
-rw-r--r--custom/jao-custom-eww.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el
index 27c5821..dbe147f 100644
--- a/custom/jao-custom-eww.el
+++ b/custom/jao-custom-eww.el
@@ -12,7 +12,7 @@
(with-current-buffer b
(string= ,url
(url-encode-url (eww-current-url)))))
- (jao-eww-session--list-buffers))))
+ (jao-eww-session-eww-buffers))))
(cond (bf (switch-to-buffer bf))
((string-match-p url "^file://") (eww-open-file url))
(t (eww url 4))))))