From e0775d7f7f13eed330d711f604da568453c7eb1d Mon Sep 17 00:00:00 2001 From: Wolfgang Jenkner Date: Wed, 10 Feb 2016 16:33:18 +0100 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 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) -- 2.39.2