X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=elopher.el;h=b8170c5521da6792e4192bb6faa0d6feae25ee7b;hp=c6d0bde5f73db169cea91bf8f4c4a3d5dd95b98e;hb=ce7691f3d1a8f26f309fd9693b979ddec8cef4af;hpb=f2b9418427c6206cb63f4114b47a4a9e6ee3641b 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))