@defun xwidget-webkit-set-cookie-storage-file xwidget file
Make the WebKit widget @var{xwidget} store cookies in @var{file}.
-@var{file} must be an absolute file path. The new setting will also
-take effect on any xwidget that was created with @var{xwidget} as the
+@var{file} must be an absolute file name. The new setting will also
+affect any xwidget that was created with @var{xwidget} as the
@code{related} argument to @code{make-xwidget}, and widgets related to
those as well.
---
*** New user option 'xwidget-webkit-cookie-file'.
-Using this option you can set where and if the xwidget-webkit buffers
-save cookies set by web pages.
+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'.
(defcustom xwidget-webkit-cookie-file
(file-name-concat user-emacs-directory
"xwidget-webkit-cookies.txt")
- "A path to the file where xwidget-webkit-browse-url will store cookies.
-They will be stored as plain text in Mozilla `cookies.txt'
-format. If nil, cookies will not be stored."
+ "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."
:type 'string
:version "29.1")
2, 2, 0, doc: /* Make the WebKit widget XWIDGET load and store cookies in FILE.
Cookies will be stored as plain text in FILE, which must be an
-absolute file path. All xwidgets related to XWIDGET will also be
-changed to store and load cookies in FILE. */)
+absolute file name. All xwidgets related to XWIDGET will also
+store cookies in FILE and load them from there. */)
(Lisp_Object xwidget, Lisp_Object file)
{
#ifdef USE_GTK