summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-eww.el2
-rw-r--r--custom/jao-custom-org.el2
2 files changed, 2 insertions, 2 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))))))
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index 1c6076a..f46b9ee 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -225,7 +225,7 @@
(defun jao-insert-eww-link ()
"Look for last eww buffer and insert an org link to it."
(interactive)
- (when-let (b (car (jao-eww-session--list-buffers)))
+ (when-let (b (car (jao-eww-session-eww-buffers)))
(let ((lnk (with-current-buffer b
(format "[[%s][%s]]"
(eww-current-url)