Function: projectile--marker-clauses
projectile--marker-clauses is a byte-compiled function defined in
projectile.el.
Signature
(projectile--marker-clauses MARKER-FILES)
Documentation
Return MARKER-FILES as a plain list of alternative-lists.
A marker specification mixes two shapes - a bare file name and an
\(:any FILE...) clause - and every consumer used to take that apart for
itself, which is how the project-file derivation came to understand a
clause only in the first position. This is the one place that knows the
shapes: it answers with a list whose every element is a list of names,
any one of which satisfies that position.
Returns nil for a predicate marker, which has no file names to give.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--marker-clauses (marker-files)
"Return MARKER-FILES as a plain list of alternative-lists.
A marker specification mixes two shapes - a bare file name and an
\\(:any FILE...) clause - and every consumer used to take that apart for
itself, which is how the project-file derivation came to understand a
clause only in the first position. This is the one place that knows the
shapes: it answers with a list whose every element is a list of names,
any one of which satisfies that position.
Returns nil for a predicate marker, which has no file names to give."
(unless (functionp marker-files)
(mapcar (lambda (clause)
(if (projectile--any-marker-p clause)
(cdr clause)
(list clause)))
(ensure-list marker-files))))