all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#47168: 28.0.50; Infinite recursion in project-root
@ 2021-03-15 17:04 Juri Linkov
  2021-03-17  2:47 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2021-03-15 17:04 UTC (permalink / raw)
  To: 47168

When for some reason the argument of 'project-root' becomes nil,
for example, when the current buffer is not under version control,
then

  (project-root (project-current))

goes into infinite recursion:

Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
  project-root(nil)
  project-roots(nil)
  ...
  project-root(nil)
  project-roots(nil)
  ...





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

end of thread, other threads:[~2021-03-17 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15 17:04 bug#47168: 28.0.50; Infinite recursion in project-root Juri Linkov
2021-03-17  2:47 ` Dmitry Gutov
2021-03-17  3:54   ` Stefan Monnier
2021-03-17 16:51     ` Dmitry Gutov

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.