aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2021-11-07 08:50:59 +0800
committerLars Ingebrigtsen2021-11-07 02:59:42 +0100
commiteabd735e6c9f8f0ea87749beba6a37e2f6db6745 (patch)
treedcd3c0516f297460c65ea11ca0dcd773ad005902 /src
parent686ce501cb54ce64cabb3411cac2b3f0ea936c49 (diff)
downloademacs-eabd735e6c9f8f0ea87749beba6a37e2f6db6745.tar.gz
emacs-eabd735e6c9f8f0ea87749beba6a37e2f6db6745.zip
Default to creating new related sessions
* doc/lispref/display.texi: * etc/NEWS: Document changes. * lisp/xwidget.el (xwidget-insert): Accept an extra RELATED argument. (xwidget-webkit-new-session): Pass current session as RELATED if present. * src/xwidget.c (Fmake_xwidget): Make RELATED argument public.
Diffstat (limited to 'src')
-rw-r--r--src/xwidget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index bf69f262fb7..5f013b7aadc 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -110,7 +110,8 @@ TYPE is a symbol which can take one of the following values:
110 110
111- webkit 111- webkit
112 112
113RELATED is nil, or an xwidget. This argument is used internally. 113RELATED is nil, or an xwidget. When constructing a WebKit widget, it
114will share the same settings and internal subprocess as RELATED.
114Returns the newly constructed xwidget, or nil if construction 115Returns the newly constructed xwidget, or nil if construction
115fails. */) 116fails. */)
116 (Lisp_Object type, 117 (Lisp_Object type,