From: Tim Vaughan Date: Thu, 24 Oct 2019 12:31:54 +0000 (+0200) Subject: Added :nowait t to gopher selector retriever. X-Git-Tag: v2.4.0~4^2~7 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=c3fdacda3b33e176d6c139ef876519bfc08ae6b2;p=elpher.git Added :nowait t to gopher selector retriever. --- 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)))))))