projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a6d6a
)
Require xwidget.el in `make-xwidget'
author
Po Lu
<luangruo@yahoo.com>
Thu, 16 Dec 2021 06:12:25 +0000
(14:12 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 16 Dec 2021 06:12:53 +0000
(14:12 +0800)
* src/xwidget.c (Fmake_xwidget): Require `xwidget'.
src/xwidget.c
patch
|
blob
|
history
diff --git
a/src/xwidget.c
b/src/xwidget.c
index d8510ef928609c276e46f4a0670d726d4c11d242..77c1b8de39aa9797d1edf752c349596b632e05ed 100644
(file)
--- a/
src/xwidget.c
+++ b/
src/xwidget.c
@@
-149,6
+149,8
@@
fails. */)
if (!EQ (type, Qwebkit))
error ("Bad xwidget type");
+ Frequire (Qxwidget, Qnil, Qnil);
+
struct xwidget *xw = allocate_xwidget ();
Lisp_Object val;
xw->type = type;