From c3fdacda3b33e176d6c139ef876519bfc08ae6b2 Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Thu, 24 Oct 2019 14:31:54 +0200 Subject: [PATCH] Added :nowait t to gopher selector retriever. --- elpher.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/elpher.el b/elpher.el index db5a820..bd8cc42 100644 --- a/elpher.el +++ b/elpher.el @@ -511,7 +511,8 @@ up to the calling function." nil host (if (> port 0) port 70) - :type (if elpher-use-tls 'tls 'plain)))) + :type (if elpher-use-tls 'tls 'plain) + :nowait t))) (set-process-coding-system proc 'binary) (set-process-filter proc (lambda (_proc string) @@ -554,7 +555,8 @@ once they are retrieved from the gopher server." (insert "LOADING... (use 'u' to cancel)")) (elpher-get-selector address (lambda (_proc event) - (unless (string-prefix-p "deleted" event) + (unless (or (string-prefix-p "deleted" event) + (string-prefix-p "open" event)) (funcall renderer elpher-selector-string) (elpher-restore-pos))))))) -- 2.20.1