]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/shr.el (image-map): Defvar it. (Bug#22614)
authorWolfgang Jenkner <wjenkner@inode.at>
Wed, 10 Feb 2016 15:33:18 +0000 (16:33 +0100)
committerWolfgang Jenkner <wjenkner@inode.at>
Wed, 10 Feb 2016 15:34:12 +0000 (16:34 +0100)
lisp/net/shr.el

index 339f877beffa561b6eb816ff13f1bfd7e8fc97fe..b1f2f0794a768ebc6ba481656b6d7c163b876f15 100644 (file)
@@ -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)