From 461bd9cc20b778b934ecbd276f4905fedb7d8c18 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 29 Mar 2020 21:56:05 +0200 Subject: [PATCH] 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. --- lisp/url/url-cookie.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.