lisprc @ 6f429206629f

Fucking broken garbage hg-git is hosed for https mercurial urls and I have no idea why
author Steve Losh <steve@stevelosh.com>
date Sat, 02 Feb 2019 15:58:34 -0500
parents a8a82a63b876
children 7d4add588cc3
#-quicklisp
(let ((quicklisp-init (merge-pathnames ".quicklisp/setup.lisp" (user-homedir-pathname))))
  (when (probe-file quicklisp-init)
    (load quicklisp-init)))

(setf *print-pretty* t
      *print-escape* t
      *print-right-margin* 100
      *print-miser-width* nil
      *print-length* 1000
      *print-level* 250)


; (defun prefix= (needle haystack)
;   (string= needle haystack :end2 (min (length haystack) (length needle))))
;
; (defun https-please (url &rest args)
;   ;; http://beta.quicklisp.org/
;   (if (prefix= "http://beta.quicklisp.org/" url)
;     (setf url (concatenate 'string "https://beta.quicklisp.org:443/"
;                            (subseq url 26))))
;   (print `(fetching ,url))
;   (apply #'ql-http:http-fetch url args))
;
; (setf ql-http:*fetch-scheme-functions* '(("http" . https-please)))