emacs: Update integration with third party packages.

`mm-inline-text-html-with-images' was removed from mm-decode.el in
2016 and replaced with `mm-html-inhibit-images'.

`gnus-select-frame-set-input-focus' was removed from gnus-util.el in
2016 and existed only for XEmacs compatibility.
This commit is contained in:
David Edmondson 2018-10-04 10:45:45 +01:00 committed by David Bremner
parent 311f530013
commit 329a8c7fce
2 changed files with 2 additions and 2 deletions

View file

@ -306,7 +306,7 @@ modified. This function is notmuch addaptation of
(if window (if window
;; Raise the frame already displaying the message buffer. ;; Raise the frame already displaying the message buffer.
(progn (progn
(gnus-select-frame-set-input-focus (window-frame window)) (select-frame-set-input-focus (window-frame window))
(select-window window)) (select-window window))
(funcall switch-function buffer) (funcall switch-function buffer)
(set-buffer buffer)) (set-buffer buffer))

View file

@ -604,7 +604,7 @@ will return nil if the CID is unknown or cannot be retrieved."
(unless (assq 'notmuch-show-mode w3m-cid-retrieve-function-alist) (unless (assq 'notmuch-show-mode w3m-cid-retrieve-function-alist)
(push (cons 'notmuch-show-mode #'notmuch-show--cid-w3m-retrieve) (push (cons 'notmuch-show-mode #'notmuch-show--cid-w3m-retrieve)
w3m-cid-retrieve-function-alist))) w3m-cid-retrieve-function-alist)))
(setq mm-inline-text-html-with-images t)) (setq mm-html-inhibit-images nil))
(defvar w3m-current-buffer) ;; From `w3m.el'. (defvar w3m-current-buffer) ;; From `w3m.el'.
(defun notmuch-show--cid-w3m-retrieve (url &rest args) (defun notmuch-show--cid-w3m-retrieve (url &rest args)