Closed akirak closed 5 years ago
Running trashed throws an error if I have never used the trashcan:
trashed
trashed-read-files: Opening directory: No such file or directory, /home/akirakomamura/.local/share/Trash/files
Apparently this is caused by evaluating the following expression in the function:
(directory-files-and-attributes trashed-files-dir nil nil t)
It can be prevented by putting the expression inside (ignore-errors ...).
(ignore-errors ...)
Thank you for the report. Fixed.
Running
trashed
throws an error if I have never used the trashcan:Apparently this is caused by evaluating the following expression in the function:
It can be prevented by putting the expression inside
(ignore-errors ...)
.