lispdoc - results for wild-pathname-p

(wild-pathname-p pathname &optional field-key)
Function: Predicate for determining whether pathname contains any wildcards.
(defun list-directory (dirname)
  "Return a list of the contents of the directory named by dirname.
Names of subdirectories will be returned in `directory normal
form'. Unlike CL:DIRECTORY, LIST-DIRECTORY does not accept
wildcard pathnames; `dirname' should simply be a pathname that
names a directory. It can be in either file or directory form."
  (when (wild-pathname-p dirname)
     "Can only list concrete directory names."))
  (let ((wildcard (directory-wildcard dirname)))
    (directory wildcard)))
Mentioned in:
CLtL2 - 23.1.4. Extended Wildcards
CLtL2 - 23.1.6. Pathname Functions
CLtL2 - 23.2. Opening and Closing Files
CLtL2 - 23.3. Renaming, Deleting, and Other File Operations
HyperSpec - Function WILD-PATHNAME-P