diff options
| author | Katsumi Yamaoka | 2016-07-14 02:19:24 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2016-07-14 02:19:24 +0000 |
| commit | 288ba2d406d6277720463f4057cb74534abcec96 (patch) | |
| tree | 628e42e0f1e5a0bc167e884253a0b11abba18b79 | |
| parent | d2533d72680f2c14730cf8699bb2cdd18eba4365 (diff) | |
| download | emacs-288ba2d406d6277720463f4057cb74534abcec96.tar.gz emacs-288ba2d406d6277720463f4057cb74534abcec96.zip | |
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Use shr-image-map instead of shr-map (bug#23964).
| -rw-r--r-- | lisp/gnus/mm-decode.el | 3 |
1 files changed, 1 insertions, 2 deletions
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." | |||
| 1836 | (delete-region ,(point-min-marker) | 1836 | (delete-region ,(point-min-marker) |
| 1837 | ,(point-max-marker)))))))) | 1837 | ,(point-max-marker)))))))) |
| 1838 | 1838 | ||
| 1839 | (defvar shr-map) | ||
| 1840 | (defvar shr-image-map) | 1839 | (defvar shr-image-map) |
| 1841 | 1840 | ||
| 1842 | (autoload 'widget-convert-button "wid-edit") | 1841 | (autoload 'widget-convert-button "wid-edit") |
| @@ -1852,7 +1851,7 @@ If RECURSIVE, search recursively." | |||
| 1852 | (widget-convert-button | 1851 | (widget-convert-button |
| 1853 | 'url-link start end | 1852 | 'url-link start end |
| 1854 | :help-echo (get-text-property start 'help-echo) | 1853 | :help-echo (get-text-property start 'help-echo) |
| 1855 | :keymap (setq keymap (copy-keymap shr-map)) | 1854 | :keymap (setq keymap (copy-keymap shr-image-map)) |
| 1856 | (get-text-property start 'shr-url)) | 1855 | (get-text-property start 'shr-url)) |
| 1857 | ;; Remove keymap that `shr-urlify' adds. | 1856 | ;; Remove keymap that `shr-urlify' adds. |
| 1858 | (put-text-property start end 'keymap nil) | 1857 | (put-text-property start end 'keymap nil) |