projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ccfb1
)
Fix url-cookie.el for lexical binding
author
Andreas Schwab
<schwab@linux-m68k.org>
Sun, 29 Mar 2020 19:56:05 +0000
(21:56 +0200)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Sun, 29 Mar 2020 19:57:09 +0000
(21:57 +0200)
* lisp/url/url-cookie.el (url-cookie-handle-set-cookie): Use setq
instead of set to modify lexical binding.
lisp/url/url-cookie.el
patch
|
blob
|
history
diff --git
a/lisp/url/url-cookie.el
b/lisp/url/url-cookie.el
index 7ab9a2f1779a0515062ec81a4926423aec0a1dad..bee3a6b85e4ba6f05919e2303a10930e084c5ec5 100644
(file)
--- 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.