Fix extraction of wiki timestamps in Emacs HEAD

This commit is contained in:
Steve Purcell 2013-10-20 10:26:19 +01:00
parent 0569da79bd
commit c4fa0ea263

View file

@ -224,7 +224,8 @@ seconds; the server cuts off after 10 requests in 20 seconds.")
(with-current-buffer (pb/with-wiki-rate-limit (with-current-buffer (pb/with-wiki-rate-limit
(url-retrieve-synchronously wiki-url)) (url-retrieve-synchronously wiki-url))
(pb/find-parse-time (pb/find-parse-time
"Last edited \\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\} [A-Z]\\{3\\}\\)")))) "Last edited \\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\} [A-Z]\\{3\\}\\)"
url-http-end-of-headers))))
(pb/dump (cons new-content-hash new-timestamp) stamp-file) (pb/dump (cons new-content-hash new-timestamp) stamp-file)
new-timestamp))))) new-timestamp)))))