From: Katsumi Yamaoka Date: Thu, 14 Jul 2016 02:19:24 +0000 (+0000) Subject: * lisp/gnus/mm-decode.el (mm-convert-shr-links): X-Git-Tag: emacs-26.0.90~1840^2~60 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=288ba2d406d6277720463f4057cb74534abcec96;p=emacs.git * lisp/gnus/mm-decode.el (mm-convert-shr-links): Use shr-image-map instead of shr-map (bug#23964). --- diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index c653d735543..c5039537285 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el @@ -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)