emacs-devel
[Top][All Lists]
Advanced

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

Re: with-url


From: Lars Ingebrigtsen
Subject: Re: with-url
Date: Thu, 29 Dec 2016 02:12:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> 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)))))

And the buffer parameter would be optional and default to the current
buffer?  Yeah, that sounds quite nice...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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