summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-01 03:04:32 +0100
committerjao <jao@gnu.org>2022-09-01 03:04:32 +0100
commitcb6f9b1ea16d7153150ee30acd493f434540b9b4 (patch)
treed8de4706b1809f36865a327dc45be79f249afd09 /lib/eos
parent19d6b055b6a07e5129bc34620c575dc2e688d4bf (diff)
downloadelibs-cb6f9b1ea16d7153150ee30acd493f434540b9b4.tar.gz
elibs-cb6f9b1ea16d7153150ee30acd493f434540b9b4.tar.bz2
a couple of little tweaks
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-afio.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index 25ef064..4000eca 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -78,7 +78,8 @@
(declare-function jao-eww-session-load "jao-eww-session")
(defun jao-afio--open-eww-session ()
- (when (null (jao-eww-session-eww-buffers))
+ (if-let (b (jao-eww-session-eww-buffers))
+ (switch-to-buffer (car b))
(jao-eww-session-load)))
;;;###autoload