all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#60100: 29.0.60; project-current is not resilient
@ 2022-12-15 19:00 Juri Linkov
  2022-12-18  0:41 ` Dmitry Gutov
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2022-12-15 19:00 UTC (permalink / raw)
  To: 60100

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
```





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-18  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 19:00 bug#60100: 29.0.60; project-current is not resilient Juri Linkov
2022-12-18  0:41 ` Dmitry Gutov
2022-12-18  8:38   ` Juri Linkov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.