From: Po Lu Date: Sat, 20 Nov 2021 00:38:04 +0000 (+0800) Subject: Make xwidget-webkit default to not storing cookies X-Git-Tag: emacs-29.0.90~2852^2~182 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=956f21b6b916f8d87a7b872e02f668883c17b8ba;p=emacs.git Make xwidget-webkit default to not storing cookies * etc/NEWS: Update to reflect change. * lisp/xwidget.el (xwidget-webkit-cookie-file): Set default value to nil. --- diff --git a/etc/NEWS b/etc/NEWS index c38e1aa5ebd..70ba5341d8a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -497,8 +497,6 @@ named. *** New user option 'xwidget-webkit-cookie-file'. Using this option you can control whether the xwidget-webkit buffers save cookies set by web pages, and if so, in which file to save them. -the default is the file 'xwidget-webkit-cookies.txt' under -'~/.emacs.d' directory. +++ *** New minor mode 'xwidget-webkit-edit-mode'. diff --git a/lisp/xwidget.el b/lisp/xwidget.el index a1f992e6598..e9a0507bbf3 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -108,9 +108,7 @@ It can use the following special constructs: :type 'string :version "29.1") -(defcustom xwidget-webkit-cookie-file - (file-name-concat user-emacs-directory - "xwidget-webkit-cookies.txt") +(defcustom xwidget-webkit-cookie-file nil "The name of the file where `xwidget-webkit-browse-url' will store cookies. They will be stored as plain text in Mozilla \"cookies.txt\" format. If nil, do not store cookies."