Skip to content

Instantly share code, notes, and snippets.

@aki2o
aki2o / cask-patch-ntemacs.el
Last active August 29, 2015 13:57
Patch for using Cask with NTEmacs
(require 'url-http)
;; (defvar url-http-end-of-headers nil)
;; (defvar url-http-response-version nil)
;; (defvar url-http-response-status nil)
(defadvice url-retrieve-synchronously (around fix-for-ntemacs activate)
(if (not (executable-find "curl"))
ad-do-it
(let* ((url (ad-get-arg 0))