bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41489: `package-dir-info' fails on a directory with a non-saved file


From: Paul Pogonyshev
Subject: bug#41489: `package-dir-info' fails on a directory with a non-saved file
Date: Sat, 23 May 2020 19:50:02 +0200

To reproduce:

- edit any Elisp file, but don't save it;
- open its directory in Dired;
- evaluate `(package-dir-info)'.

Fails with: (file-missing "Opening input file" "No such file or directory" ".../.#blabla.el")

I.e. it tries to open the lock created for the unsaved file as a normal file and fails. I'm not 100% sure this should be considered a bug, but from my point of view it is so. Even if this is not a bug, the function should probably fail with a more descriptive error.

Paul

reply via email to

[Prev in Thread] Current Thread [Next in Thread]