[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23183: 25.1.50; Error in url-cookie-delete-cookies
From: |
Lars Ingebrigtsen |
Subject: |
bug#23183: 25.1.50; Error in url-cookie-delete-cookies |
Date: |
Sun, 15 Apr 2018 21:51:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Lars had introduced the new function `url-cookie-delete-cookies'.
>
> I had hoped that this would (always) work - since it is so suggesting to
> do:
>
> (require 'url)
>
> (add-hook 'kill-emacs-hook #'url-cookie-delete-cookies)
>
> But that gives an error - apparently - when you haven't yet used the
> cookie mechanism. Backtrace from emacs -Q after evaluating that and
> hitting C-x C-c:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> expand-file-name(nil)
> url-cookie-write-file()
I've now make that function not error out in this situation.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#23183: 25.1.50; Error in url-cookie-delete-cookies,
Lars Ingebrigtsen <=