diff options
| author | Lars Ingebrigtsen | 2021-11-09 06:26:57 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-09 06:26:57 +0100 |
| commit | 0a2439fa3169013a4f95a63aa49ca1fb448f6ddd (patch) | |
| tree | f039c0c675cdc279157277dd20ce94ecafbe2b46 | |
| parent | 9a67efa11b0fb9add6325cf68f8c0f8c7fcff861 (diff) | |
| download | emacs-0a2439fa3169013a4f95a63aa49ca1fb448f6ddd.tar.gz emacs-0a2439fa3169013a4f95a63aa49ca1fb448f6ddd.zip | |
Fix shr-tag-video startup issue
* lisp/net/shr.el (shr-tag-video): Require xwidgets, because it's
used from callbacks.
| -rw-r--r-- | lisp/net/shr.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 295ffddf059..2d50f2d9fe0 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el | |||
| @@ -1680,6 +1680,7 @@ The preference is a float determined from `shr-prefer-media-type'." | |||
| 1680 | (fboundp 'make-xwidget)) | 1680 | (fboundp 'make-xwidget)) |
| 1681 | ;; Play the video. | 1681 | ;; Play the video. |
| 1682 | (progn | 1682 | (progn |
| 1683 | (require 'xwidgets) | ||
| 1683 | (let ((widget (make-xwidget | 1684 | (let ((widget (make-xwidget |
| 1684 | 'webkit | 1685 | 'webkit |
| 1685 | "Video" | 1686 | "Video" |