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.
This commit is contained in:
Po Lu 2021-11-20 08:38:04 +08:00
parent 54b2bd1be6
commit 956f21b6b9
2 changed files with 1 additions and 5 deletions

View file

@ -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'.

View file

@ -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."