 (cl-defun elisp/runfiles/rlocation
     (filename &optional (runfiles (elisp/runfiles/get)))
   "Return a filename corresponding to the runfile FILENAME.
-RUNFILES must be an object of the class
+RUNFILES must be an object of the type
 ‘elisp/runfiles/runfiles’; it defaults to a global instance.
 Signal an error of type ‘elisp/runfiles/not-found’ if FILENAME
 wasn’t found in the runfiles tree.  Signal an error of type



;;;; Implementations of the ‘elisp/runfiles/runfiles’ class:

(cl-defstruct (elisp/runfiles/runfiles--manifest
               (:constructor elisp/runfiles/manifest--make (filename manifest))

  "Cache for ‘elisp/runfiles/get’.")

(defun elisp/runfiles/get ()
  "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."
