Fix configuration of inline images within gnus

Ensure the mm-attachment-override-types custom variable is loaded before
adding to it by requiring mm-decode.
This commit is contained in:
Correl Roush 2016-01-13 10:14:48 -05:00
parent 30c0427b9a
commit 417548b4c4

View file

@ -655,6 +655,8 @@ Taken from http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/a6
*** Inline images *** Inline images
#+name: gnus #+name: gnus
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(require 'mm-decode)
(add-to-list 'mm-attachment-override-types "image/.*") (add-to-list 'mm-attachment-override-types "image/.*")
(setq mm-inline-large-images t) (setq mm-inline-large-images t)
#+END_SRC #+END_SRC