summaryrefslogtreecommitdiff
path: root/lisp/url/url-cookie.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2020-03-29 21:56:05 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2020-03-29 21:57:09 +0200
commit461bd9cc20b778b934ecbd276f4905fedb7d8c18 (patch)
treeac48b20c43310b6860d23324ffc86913e6968266 /lisp/url/url-cookie.el
parentf3ccfb19261172f94e5d77c8ed182f74f83045f6 (diff)
downloademacs-461bd9cc20b778b934ecbd276f4905fedb7d8c18.tar.gz
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.
Diffstat (limited to 'lisp/url/url-cookie.el')
-rw-r--r--lisp/url/url-cookie.el2
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."
(pop untrusted)))
(and trusted untrusted
;; Choose the more specific match.
- (set (if (> trusted untrusted) 'untrusted 'trusted) nil))
+ (if (> trusted untrusted) (setq untrusted nil) (setq trusted nil)))
(cond
(untrusted
;; The site was explicitly marked as untrusted by the user.