]> git.eshelyaron.com Git - emacs.git/commitdiff
Backport mm-convert-shr-links fix from master (bug#23964)
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 26 Sep 2016 22:34:53 +0000 (22:34 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 26 Sep 2016 22:34:53 +0000 (22:34 +0000)
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Preserve key bindings that shr adds (bug#23964).

lisp/gnus/mm-decode.el

index bb8e2038d26f611ce5956276ee91304feb65daff..b6532b3b262d234016575ee85971ca50135edaf2 100644 (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'.