GNU bug report logs - #23183
25.1.50; Error in url-cookie-delete-cookies

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Fri, 1 Apr 2016 23:06:01 UTC

Severity: minor

Tags: fixed

Found in version 25.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 23183 <at> debbugs.gnu.org
Subject: bug#23183: 25.1.50; Error in url-cookie-delete-cookies
Date: Sun, 15 Apr 2018 21:51:10 +0200
Michael Heerdegen <michael_heerdegen <at> 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




This bug report was last modified 7 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.