* bug#51705: 29.0.50; [PATCH] Fix compiler warnings building shr.el
[not found] <871r3pak1u.fsf.ref@yahoo.com>
@ 2021-11-09 7:02 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-09 7:27 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-11-09 7:02 UTC (permalink / raw)
To: 51705
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-Fix-compiler-warning-building-net-shr.el-without-xwi.patch --]
[-- Type: text/x-patch, Size: 841 bytes --]
From 9190a9923a83797db1f4b2c5d17866787c59c2eb Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Tue, 9 Nov 2021 15:01:07 +0800
Subject: [PATCH] Fix compiler warning building net/shr.el without xwidget
support
* lisp/net/shr.el (xwidget-webkit-execute-script): New function
declaration.
---
lisp/net/shr.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 19d2d8a8e6..9b00ff6aa3 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1670,6 +1670,9 @@ shr--extract-best-source
pref (cdr ret)))))))))
(cons url pref))
+(declare-function xwidget-webkit-execute-script "xwidget.c"
+ (xwidget script &optional callback))
+
(defun shr-tag-video (dom)
(let ((image (dom-attr dom 'poster))
(url (dom-attr dom 'src))
--
2.31.1
[-- Attachment #2: Type: text/plain, Size: 9 bytes --]
Thanks.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#51705: 29.0.50; [PATCH] Fix compiler warnings building shr.el
2021-11-09 7:02 ` bug#51705: 29.0.50; [PATCH] Fix compiler warnings building shr.el Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-11-09 7:27 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-09 7:27 UTC (permalink / raw)
To: Po Lu; +Cc: 51705
Po Lu <luangruo@yahoo.com> writes:
> Thanks.
Thanks, pushed. 😀
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-09 7:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <871r3pak1u.fsf.ref@yahoo.com>
2021-11-09 7:02 ` bug#51705: 29.0.50; [PATCH] Fix compiler warnings building shr.el Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-09 7:27 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.