       ;; Record the current Emacs version. If a different version of
       ;; Emacs is used, we have to rebuild all the packages (because
       ;; byte-compiled files cannot necessarily still be loaded).
-      (print (emacs-version) (current-buffer))
+      (print emacs-version (current-buffer))
       ;; The actual build cache.
       (print straight--build-cache (current-buffer))
       ;; The autoloads cache.

                 ;; Emacs version should be the same as our current
                 ;; one.
                 (stringp last-emacs-version)
                 (or (string= (straight--strip-newlines last-emacs-version)
                              (straight--strip-newlines (emacs-version)))
                     (prog1 (setq malformed nil)
                       (message
                        (concat

                straight--not-present-paranoid)))))

;;;;; Strings

(defun straight--split-and-trim (string &optional indent max-lines)
  "Split the STRING on newlines, returning a list.
