[Top][All Lists]

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

Re: url broken on CVS trunk?

From: Edward O'Connor
Subject: Re: url broken on CVS trunk?
Date: Fri, 16 Nov 2007 20:31:35 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Nick Roberts <address@hidden> writes:

> Tom Tromey's Emacs Lisp Package Archive has the following piece of code that
> needs to be evaluated:
>     (let ((buffer (url-retrieve-synchronously
>                "http://tromey.com/elpa/package-install.el";)))
>     (save-excursion
>       (set-buffer buffer)
>       (goto-char (point-min))
>       (re-search-forward "^$" nil 'move)
>       (eval-region (point) (point-max))
>       (kill-buffer (current-buffer))))

Incidentally, it would be better to replace the `re-search-forward' call
with (goto-char url-http-end-of-headers).

Edward O'Connor

Ense petit placidam sub libertate quietem.

reply via email to

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