bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22614: 25.1.50; ../../emacs/lisp/net/eww.el:29:1:Error: Symbol’s val


From: Wolfgang Jenkner
Subject: bug#22614: 25.1.50; ../../emacs/lisp/net/eww.el:29:1:Error: Symbol’s value as variable is void: image-map
Date: Wed, 10 Feb 2016 17:45:10 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (berkeley-unix)

On Wed, Feb 10 2016, Han Boetes wrote:

> ../../emacs/lisp/net/eww.el:29:1:Error: Symbol’s value as variable is void: 
> image-map
> Makefile:277: recipe for target 'net/eww.elc' failed
[...]
> This problem does not occur on debian, just on OpenBSD-5.8
[...]
>  --without-gif --without-x CC=/usr/local/bin/egcc 'CFLAGS=-pipe -O2''

If the configuration of the broken build is similar to the above,
image.el is not contained in the dumped emacs, so I just pushed the
following fix to master to unbreak the build and mark this bug report as
done.

Subject: [PATCH] * lisp/net/shr.el (image-map): Defvar it.  (Bug#22614)

---
 lisp/net/shr.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 339f877..b1f2f07 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -189,6 +189,8 @@ shr-map
     (define-key map "\r" 'shr-browse-url)
     map))
 
+(defvar image-map nil)                  ;in case image.el is not pre-loaded
+
 (defvar shr-image-map
   (let ((map (copy-keymap shr-map)))
     (set-keymap-parent map image-map)
-- 
2.7.0








reply via email to

[Prev in Thread] Current Thread [Next in Thread]