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

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

bug#60100: 29.0.60; project-current is not resilient


From: Juri Linkov
Subject: bug#60100: 29.0.60; project-current is not resilient
Date: Thu, 15 Dec 2022 21:00:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

Is this intentional that

```
(project-current nil "/tmp/nonexistent/")
```

raises the error

  Debugger entered--Lisp error: (file-missing "Opening directory" "No such file 
or directory" "/tmp/nonexistent")

instead of silently returning nil.  Because when called with
an existing non-project dir, it just returns nil:

```
(project-current nil "/tmp/") => nil
```





reply via email to

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