From: Tim Vaughan Date: Wed, 24 Apr 2019 15:01:35 +0000 (+0200) Subject: Fixed bug in download procedure. X-Git-Tag: v1.0.0~51 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=ce7691f3d1a8f26f309fd9693b979ddec8cef4af Fixed bug in download procedure. --- 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))