mu4e/view: Restore URL activation, TAB
Make URL activation work again (with mouse, M-RET), and TAB in gnus-view. Fixes: #1946.
This commit is contained in:
@ -165,7 +165,7 @@ found."
|
||||
(goto-char (point-min))
|
||||
(mu4e~fontify-cited)
|
||||
(mu4e~fontify-signature)
|
||||
(mu4e~view-make-urls-clickable)
|
||||
(mu4e~view-activate-urls)
|
||||
(mu4e~view-show-images-maybe msg)
|
||||
(when (not embedded) (setq mu4e~view-message msg))
|
||||
(mu4e-view-mode)
|
||||
@ -646,20 +646,6 @@ FUNC should be a function taking two arguments:
|
||||
"Major mode for viewing an e-mail message in mu4e."
|
||||
(mu4e~view-mode-body))
|
||||
|
||||
(defun mu4e~view-browse-url-func (url)
|
||||
"Return a function that executes `browse-url' with URL.
|
||||
The browser that is called depends on
|
||||
`browse-url-browser-function' and `browse-url-mailto-function'."
|
||||
(save-match-data
|
||||
(if (string-match "^mailto:" url)
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(browse-url-mail url))
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(browse-url url)))))
|
||||
|
||||
|
||||
(defun mu4e~view-show-images-maybe (msg)
|
||||
"Show attached images, if `mu4e-show-images' is non-nil."
|
||||
(when (and (display-images-p) mu4e-view-show-images)
|
||||
|
||||
Reference in New Issue
Block a user