diff options
Diffstat (limited to 'custom/jao-custom-w3m.el')
-rw-r--r-- | custom/jao-custom-w3m.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-w3m.el b/custom/jao-custom-w3m.el index 43b9e2d..57d0c4a 100644 --- a/custom/jao-custom-w3m.el +++ b/custom/jao-custom-w3m.el @@ -6,7 +6,7 @@ (fn `(lambda (b) (with-current-buffer b (string= ,url (w3m-canonicalize-url w3m-current-url)))))) - (when-let (b (seq-find fn (w3m-list-buffers))) + (when-let* ((b (seq-find fn (w3m-list-buffers)))) (pop-to-buffer b)))) (defun jao-w3m-browse-url (url &rest r) |