unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Wolfgang Jenkner <wjenkner@inode.at>
To: Han Boetes <han@boetes.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 22614-done@debbugs.gnu.org
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	[thread overview]
Message-ID: <85lh6so6p5.fsf@iznogoud.viz> (raw)
In-Reply-To: <868u2s1ydw.fsf@boetes.org>

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	other threads:[~2016-02-10 16:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10 13:35 bug#22614: 25.1.50; ../../emacs/lisp/net/eww.el:29:1:Error: Symbol’s value as variable is void: image-map Han Boetes
2016-02-10 16:45 ` Wolfgang Jenkner [this message]
2016-02-10 23:16   ` Glenn Morris
2016-02-11  3:50     ` Lars Ingebrigtsen
2016-02-11  9:59       ` Andreas Schwab
2016-02-12  2:18         ` Lars Ingebrigtsen
2016-02-11 15:29     ` Wolfgang Jenkner
     [not found] ` <handler.22614.D22614.145512272411264.notifdone@debbugs.gnu.org>
2016-02-10 16:52   ` bug#22614: closed (Re: bug#22614: 25.1.50; ../../emacs/lisp/net/eww.el:29:1:Error: Symbol’s value as variable is void: image-map) Han Boetes
2016-02-10 17:05     ` Wolfgang Jenkner
2016-02-10 21:09       ` Wolfgang Jenkner
2016-02-11  3:52         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85lh6so6p5.fsf@iznogoud.viz \
    --to=wjenkner@inode.at \
    --cc=22614-done@debbugs.gnu.org \
    --cc=han@boetes.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).