emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: with-url


From: Stefan Monnier
Subject: Re: with-url
Date: Wed, 28 Dec 2016 20:06:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>   (with-url ("http://fsf.org/";)
>     (message "Content type is %s" (url-header 'content-type)))

Why not

    (with-url ("http://fsf.org/";)
      (let ((buffer (current-buffer)))
        (with-url ("http://goole.org/";)
          (message "Content type is %s"
                   (url-header 'content-type buffer)))))


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]