(url-cookie-retrieve): Fix last change.
This commit is contained in:
parent
68fe704b63
commit
7feadb909b
1 changed files with 6 additions and 4 deletions
|
@ -251,10 +251,12 @@ telling Microsoft that."
|
|||
(while cookies
|
||||
(setq cur (car cookies)
|
||||
cookies (cdr cookies)
|
||||
localpart-match (let ((lp (url-cookie-localpart cur)))
|
||||
(when lp
|
||||
(concat "^" (regexp-quote lp)))))
|
||||
(if (and (equal localpart localpart-match)
|
||||
localpart-match (url-cookie-localpart cur))
|
||||
(if (and (if (stringp localpart-match)
|
||||
(string-match (concat "^" (regexp-quote
|
||||
localpart-match))
|
||||
localpart)
|
||||
(equal localpart localpart-match))
|
||||
(not (url-cookie-expired-p cur)))
|
||||
(setq retval (cons cur retval))))))
|
||||
retval))
|
||||
|
|
Loading…
Add table
Reference in a new issue