aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorStefan Monnier2012-04-26 08:43:28 -0400
committerStefan Monnier2012-04-26 08:43:28 -0400
commite95a67dc75c3d41c428d6e215426f321b5a2f9e5 (patch)
tree942041f2385c9506f52b6c97af7e4cee34f917db /lisp/url
parent4c3fa1d9adf3dca80e86b45488b0556f5f0fa495 (diff)
downloademacs-e95a67dc75c3d41c428d6e215426f321b5a2f9e5.tar.gz
emacs-e95a67dc75c3d41c428d6e215426f321b5a2f9e5.zip
Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).
* lisp/term/ns-win.el (ns-define-service): * lisp/progmodes/pascal.el (pascal-goto-defun): * lisp/progmodes/js.el (js--read-tab): * lisp/progmodes/etags.el (tags-lazy-completion-table): * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock): * lisp/emacs-lisp/ewoc.el (ewoc--wrap): * lisp/emacs-lisp/assoc.el (aput, adelete, amake): * lisp/doc-view.el (doc-view-convert-current-doc): * lisp/url/url.el (url-retrieve-synchronously): * lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog13
-rw-r--r--lisp/url/url.el6
2 files changed, 12 insertions, 7 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 3c9313e3e7d..7ce3489cfcc 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,8 @@
12012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * url.el (url-retrieve-synchronously): Replace lexical-let by
4 lexical-binding.
5
12012-04-10 William Xu <william.xwl@gmail.com> (tiny change) 62012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
2 7
3 * url.el (url-retrieve-internal): Hexify multibye URL string first 8 * url.el (url-retrieve-internal): Hexify multibye URL string first
@@ -28,8 +33,8 @@
28 33
292012-03-11 Chong Yidong <cyd@gnu.org> 342012-03-11 Chong Yidong <cyd@gnu.org>
30 35
31 * url-http.el (url-http-end-of-document-sentinel): Handle 36 * url-http.el (url-http-end-of-document-sentinel):
32 keepalive expiry by calling url-http again (Bug#10223). 37 Handle keepalive expiry by calling url-http again (Bug#10223).
33 (url-http): New arg, for the above. 38 (url-http): New arg, for the above.
34 39
352012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net> 402012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
@@ -180,8 +185,8 @@
180 185
1812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org> 1862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
182 187
183 * url-http.el (url-http-wait-for-headers-change-function): Remove 188 * url-http.el (url-http-wait-for-headers-change-function):
184 pointless "HTTP/0.9 How I hate thee!" message (bug#6735). 189 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
185 190
1862011-06-04 Andreas Schwab <schwab@linux-m68k.org> 1912011-06-04 Andreas Schwab <schwab@linux-m68k.org>
187 192
diff --git a/lisp/url/url.el b/lisp/url/url.el
index f3ef553bbce..7884882c6e7 100644
--- a/lisp/url/url.el
+++ b/lisp/url/url.el
@@ -1,4 +1,4 @@
1;;; url.el --- Uniform Resource Locator retrieval tool 1;;; url.el --- Uniform Resource Locator retrieval tool -*- lexical-binding: t -*-
2 2
3;; Copyright (C) 1996-1999, 2001, 2004-2012 Free Software Foundation, Inc. 3;; Copyright (C) 1996-1999, 2001, 2004-2012 Free Software Foundation, Inc.
4 4
@@ -225,8 +225,8 @@ associated with it (the case for dired, info, or mailto URLs that need
225no further processing). URL is either a string or a parsed URL." 225no further processing). URL is either a string or a parsed URL."
226 (url-do-setup) 226 (url-do-setup)
227 227
228 (lexical-let ((retrieval-done nil) 228 (let ((retrieval-done nil)
229 (asynch-buffer nil)) 229 (asynch-buffer nil))
230 (setq asynch-buffer 230 (setq asynch-buffer
231 (url-retrieve url (lambda (&rest ignored) 231 (url-retrieve url (lambda (&rest ignored)
232 (url-debug 'retrieval "Synchronous fetching done (%S)" (current-buffer)) 232 (url-debug 'retrieval "Synchronous fetching done (%S)" (current-buffer))