From: Andreas Schwab Date: Sun, 29 Mar 2020 19:56:05 +0000 (+0200) Subject: Fix url-cookie.el for lexical binding X-Git-Tag: emacs-27.0.91~50 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=461bd9cc20b778b934ecbd276f4905fedb7d8c18;p=emacs.git 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. --- 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.