Backport mm-convert-shr-links fix from master (bug#23964)

* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Preserve key bindings that shr adds (bug#23964).
This commit is contained in:
Katsumi Yamaoka 2016-09-26 22:34:53 +00:00
parent 9fc9988d4d
commit 5b734087b1

View file

@ -1910,8 +1910,6 @@ If RECURSIVE, search recursively."
:help-echo (get-text-property start 'help-echo)
:keymap (setq keymap (copy-keymap shr-map))
(get-text-property start 'shr-url))
;; Remove keymap that `shr-urlify' adds.
(put-text-property start end 'keymap nil)
;; Mask keys that launch `widget-button-click'.
;; Those bindings are provided by `widget-keymap'
;; that is a parent of `gnus-article-mode-map'.