[Emacs] Remove incompatible code with mu4e 1.8

This commit is contained in:
Lucien Cartier-Tilet 2022-06-28 23:39:38 +02:00
parent 81a3b67f63
commit 570834c65c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1685,20 +1685,12 @@ configuration for the ~mu4e~ package itself.
(when (fboundp 'imagemagick-register-types)
(imagemagick-register-types))
(add-to-list 'mu4e-view-actions '("PDF view" . mu4e-action-open-as-pdf) t)
(require 'gnus-dired)
(setq gnus-dired-mail-mode 'mu4e-user-agent)
(add-hook 'mu4e-compose-mode-hook (lambda () (use-hard-newlines t 'guess)))
(add-hook 'mu4e-compose-mode-hook 'mml-secure-message-sign-pgpmime)
;; writeroom for plaintext emails
(add-hook 'mu4e-view-mode-hook
(lambda ()
(unless (mu4e~message-use-html-p (mu4e-message-at-point) nil)
(writeroom-mode))))
(setq mu4e-change-filenames-when-moving t
mu4e-update-interval 60
mu4e-compose-format-flowed t