mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-14 16:50:58 +00:00
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.
This commit is contained in:
parent
f3ccfb1926
commit
461bd9cc20
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user