summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-11-07 20:02:06 +0800
committerEli Zaretskii <eliz@gnu.org>2021-11-07 14:51:16 +0200
commita05f6bb6718a6ba2617d367e665d6f658a518448 (patch)
tree6df385bdf9f759de8d5258a2dff5f07acdb685d6
parent75f4af0b303418f7bf107741684ea50b8c52b7f7 (diff)
downloademacs-a05f6bb6718a6ba2617d367e665d6f658a518448.tar.gz
Document the xwidget type
* doc/lispref/elisp.texi: Add Xwidget Type to the menu. * doc/lispref/objects.texi (Editing Types): Add Xwidget Type to the menu. (Xwidget Type): New node.
-rw-r--r--doc/lispref/elisp.texi1
-rw-r--r--doc/lispref/objects.texi15
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index d0bfd8c9019..1c0b0fa1b5a 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -365,6 +365,7 @@ Editing Types
* Keymap Type:: What function a keystroke invokes.
* Overlay Type:: How an overlay is represented.
* Font Type:: Fonts for displaying text.
+* Xwidget Type:: Embeddable widgets.
Numbers
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index 0551bb5673f..bbd3973f61b 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -1535,6 +1535,7 @@ editing.
* Keymap Type:: What function a keystroke invokes.
* Overlay Type:: How an overlay is represented.
* Font Type:: Fonts for displaying text.
+* Xwidget Type:: Embeddable widgets.
@end menu
@node Buffer Type
@@ -1860,6 +1861,20 @@ syntax looks like @samp{#<font-object>}, @samp{#<font-spec>}, and
@samp{#<font-entity>} respectively. @xref{Low-Level Font}, for a
description of these Lisp objects.
+@node Xwidget Type
+@subsection Xwidget Type
+@cindex xwidget type
+@cindex xwidget-view type
+
+ An @dfn{xwidget} is a special display element, such as a web
+browser, that can be embedded inside a buffer. Each window that
+displays an xwidget will also have an @dfn{xwidget view}, which on
+X-Windows corresponds to a single X window used to display the widget.
+
+Neither of these objects are readable; their print syntaxes look like
+@samp{#<xwidget>} and @samp{#<xwidget-view>}, respectively.
+@xref{Xwidgets}, for a more detailed description of xwidgets.
+
@node Circular Objects
@section Read Syntax for Circular Objects
@cindex circular structure, read syntax