]> code.delx.au - gnu-emacs/commitdiff
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 14 Jul 2016 02:19:24 +0000 (02:19 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 14 Jul 2016 02:19:24 +0000 (02:19 +0000)
Use shr-image-map instead of shr-map (bug#23964).

lisp/gnus/mm-decode.el

index c653d735543356a506cc2c4aa08dfce08f3328b5..c5039537285f71a17e77b505f678e9e92f70d9ef 100644 (file)
@@ -1836,7 +1836,6 @@ If RECURSIVE, search recursively."
            (delete-region ,(point-min-marker)
                           ,(point-max-marker))))))))
 
-(defvar shr-map)
 (defvar shr-image-map)
 
 (autoload 'widget-convert-button "wid-edit")
@@ -1852,7 +1851,7 @@ If RECURSIVE, search recursively."
        (widget-convert-button
         'url-link start end
         :help-echo (get-text-property start 'help-echo)
-        :keymap (setq keymap (copy-keymap shr-map))
+        :keymap (setq keymap (copy-keymap shr-image-map))
         (get-text-property start 'shr-url))
        ;; Remove keymap that `shr-urlify' adds.
        (put-text-property start end 'keymap nil)