Skip to content

Instantly share code, notes, and snippets.

@zsoltika
Created December 30, 2015 14:44
Show Gist options
  • Save zsoltika/30f9d6dd54edb0faaf3e to your computer and use it in GitHub Desktop.
Save zsoltika/30f9d6dd54edb0faaf3e to your computer and use it in GitHub Desktop.
;; *MESSAGES* buffer after using define-word
;; error in process filter: apply: Wrong type argument: char-or-string-p, nil
;; error in process filter: Wrong type argument: char-or-string-p, nil
;;
;; Most likely it's unrelated to url-retrieve, since if I run this from the running instance's scratch buffer:
(url-retrieve
"http://download.savannah.gnu.org/releases/color-theme/color-theme-6.6.0.tar.gz"
(lambda (s)
(re-search-forward "\r?\n\r?\n")
(write-region (point) (point-max) "/Temp/bla")))
;; Then C:\Temp\bla gets written succesfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment