diff options
-rw-r--r-- | init.el | 2 | ||||
-rw-r--r-- | lib/eos/jao-afio.el | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -654,7 +654,7 @@ (use-package xclip :ensure t - :init (setq xclip-method (if jao-sway-enabled 'wl-copy 'xclip))) + :init (setq xclip-method (if jao-wayland-enabled 'wl-copy 'xclip))) (unless (display-graphic-p) (xclip-mode 1)) 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 |