From ce7691f3d1a8f26f309fd9693b979ddec8cef4af Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Wed, 24 Apr 2019 17:01:35 +0200 Subject: [PATCH] Fixed bug in download procedure. --- elopher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elopher.el b/elopher.el index c6d0bde..b8170c5 100644 --- a/elopher.el +++ b/elopher.el @@ -484,7 +484,7 @@ The result is stored as a string in the variable elopher-selector-string." (filename-proposal (file-name-nondirectory selector)) (filename (read-file-name "Name of file to write: " nil nil nil - (if (> 0 (length filename-proposal)) + (if (> (length filename-proposal) 0) filename-proposal "gopher.file")))) (elopher-download-node node filename)) -- 2.20.1