   "Cache for ‘elisp/runfiles/get’.")
 
 (defun elisp/runfiles/get ()
-  "Return a global instance of the class ‘elisp/runfiles/runfiles’.
+  "Return a global instance of the type ‘elisp/runfiles/runfiles’.
 Cache the result once created; this means that changes to the
 runfile-specific environmental variables don’t take effect once
 the global instance is initialized."

  (impl nil :read-only t))

(cl-defun elisp/runfiles/make (&key manifest directory)
  "Return a new instance of a subclass of ‘elisp/runfiles/runfiles’.
MANIFEST and DIRECTORY specify the location of the runfiles.  By
default, use environmental variable to find the runfiles.
MANIFEST specifies the filename of a runfile manifest.  DIRECTORY


(defun elisp/runfiles/make--directory (directory)
  "Create a directory-based runfiles object for DIRECTORY.
Return an object of type ‘elisp/runfiles/runfiles--directory’."
  (elisp/runfiles/directory--make
   (file-name-as-directory (expand-file-name directory))))

