diff options
| author | Po Lu | 2021-11-07 08:50:59 +0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-07 02:59:42 +0100 |
| commit | eabd735e6c9f8f0ea87749beba6a37e2f6db6745 (patch) | |
| tree | dcd3c0516f297460c65ea11ca0dcd773ad005902 /src | |
| parent | 686ce501cb54ce64cabb3411cac2b3f0ea936c49 (diff) | |
| download | emacs-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.c | 3 |
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 | ||
| 113 | RELATED is nil, or an xwidget. This argument is used internally. | 113 | RELATED is nil, or an xwidget. When constructing a WebKit widget, it |
| 114 | will share the same settings and internal subprocess as RELATED. | ||
| 114 | Returns the newly constructed xwidget, or nil if construction | 115 | Returns the newly constructed xwidget, or nil if construction |
| 115 | fails. */) | 116 | fails. */) |
| 116 | (Lisp_Object type, | 117 | (Lisp_Object type, |