Add intermediate values to `junk-hist' instead of `minibuffer-history'. Test the length of `str'.
Attach a file by drag & drop or click to upload