From: Wolfgang Jenkner Date: Wed, 10 Feb 2016 15:33:18 +0000 (+0100) Subject: * lisp/net/shr.el (image-map): Defvar it. (Bug#22614) X-Git-Tag: emacs-26.0.90~2652 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e0775d7f7f13eed330d711f604da568453c7eb1d;p=emacs.git * lisp/net/shr.el (image-map): Defvar it. (Bug#22614) --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 339f877beff..b1f2f0794a7 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -189,6 +189,8 @@ and other things: (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)