diff options
| author | Andreas Schwab | 2020-03-29 21:56:05 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2020-03-29 21:57:09 +0200 |
| commit | 461bd9cc20b778b934ecbd276f4905fedb7d8c18 (patch) | |
| tree | ac48b20c43310b6860d23324ffc86913e6968266 | |
| parent | f3ccfb19261172f94e5d77c8ed182f74f83045f6 (diff) | |
| download | emacs-461bd9cc20b778b934ecbd276f4905fedb7d8c18.tar.gz emacs-461bd9cc20b778b934ecbd276f4905fedb7d8c18.zip | |
Fix url-cookie.el for lexical binding
* lisp/url/url-cookie.el (url-cookie-handle-set-cookie): Use setq
instead of set to modify lexical binding.
| -rw-r--r-- | lisp/url/url-cookie.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el index 7ab9a2f1779..bee3a6b85e4 100644 --- a/lisp/url/url-cookie.el +++ b/lisp/url/url-cookie.el | |||
| @@ -319,7 +319,7 @@ i.e. 1970-1-1) are loaded as expiring one year from now instead." | |||
| 319 | (pop untrusted))) | 319 | (pop untrusted))) |
| 320 | (and trusted untrusted | 320 | (and trusted untrusted |
| 321 | ;; Choose the more specific match. | 321 | ;; Choose the more specific match. |
| 322 | (set (if (> trusted untrusted) 'untrusted 'trusted) nil)) | 322 | (if (> trusted untrusted) (setq untrusted nil) (setq trusted nil))) |
| 323 | (cond | 323 | (cond |
| 324 | (untrusted | 324 | (untrusted |
| 325 | ;; The site was explicitly marked as untrusted by the user. | 325 | ;; The site was explicitly marked as untrusted by the user. |