all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 22614@debbugs.gnu.org
Cc: wjenkner@inode.at, han@boetes.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 18:16:57 -0500	[thread overview]
Message-ID: <dtk2mcb1g6.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <85lh6so6p5.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Wed, 10 Feb 2016 17:45:10 +0100")

Wolfgang Jenkner wrote:

> --- 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
> +

This (ie, defining something from image.el in shr.el just to stop a void
variable error) seems sub-optimal to me. Can't shr use something like
"(when (featurep 'image) ...)" instead?





  reply	other threads:[~2016-02-10 23:16 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
2016-02-10 23:16   ` Glenn Morris [this message]
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

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

  git send-email \
    --in-reply-to=dtk2mcb1g6.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=22614@debbugs.gnu.org \
    --cc=han@boetes.org \
    --cc=wjenkner@inode.at \
    /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 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.