Skip to content

Commit 989bd03

Browse files
committed
Remove warnings
1 parent 932f80c commit 989bd03

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-11-07 Mats Lidell <matsl@gnu.org>
2+
3+
* hsys-www.el (eww--dwim-expand-url): Declare function to silence warning.
4+
(www-eww-browse-url): Defvar to silence warning in Emacs 28 where it
5+
is not defined. Introduced with Emacs 29.
6+
17
2025-11-02 Mats Lidell <matsl@gnu.org>
28

39
* test/hywiki-tests.el

hsys-www.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Author: Bob Weiner
44
;;
55
;; Orig-Date: 7-Apr-94 at 17:17:39 by Bob Weiner
6-
;; Last-Mod: 5-Oct-25 at 13:51:02 by Bob Weiner
6+
;; Last-Mod: 7-Nov-25 at 19:23:34 by Mats Lidell
77
;;
88
;; SPDX-License-Identifier: GPL-3.0-or-later
99
;;
@@ -43,6 +43,8 @@
4343

4444
(defvar hpath:display-where-alist) ; "hpath.el"
4545

46+
(declare-function eww--dwim-expand-url "eww" (url))
47+
4648
(declare-function hpath:remote-available-p "hpath")
4749
(declare-function hpath:remote-p "hpath")
4850
(declare-function hpath:remote-at-p "hpath")
@@ -226,6 +228,7 @@ instead of `browse-url-new-window-flag'."
226228
(format "*eww-%s*" (url-host (url-generic-parse-url
227229
(eww--dwim-expand-url url)))))))
228230
(eww-mode)
231+
(defvar url-allow-non-local-files) ; Defined from Emacs 29.
229232
(let ((url-allow-non-local-files t))
230233
(eww url)))
231234

0 commit comments

Comments
 (0)