                 straight--not-present-paranoid)))))
 
 ;;;;; Strings
-
-(defun straight--strip-newlines (string)
-  "Strips CR, LF, CRLF newlines from STRING.
-It is useful for normalizing strings before comparison."
-  (replace-regexp-in-string "[\n\r]" "" string 'fixedcase 'literal))
 
 (defun straight--split-and-trim (string &optional indent max-lines)
   "Split the STRING on newlines, returning a list.

      ;; 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))
      ;; 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= last-emacs-version emacs-version)
                     (prog1 (setq malformed nil)
                       (message
                        (concat
