Make mm-html-blocked-images default to "" again

* lisp/gnus/mm-decode.el (mm-html-blocked-images):
Default to "" that blocks all external images.

* doc/misc/emacs-mime.texi (Display Customization):
Mention that mm-html-blocked-images defaults to "".
This commit is contained in:
Katsumi Yamaoka 2016-02-09 22:24:25 +00:00
parent 145a11e1a3
commit fa55da20db
2 changed files with 2 additions and 2 deletions

View file

@ -436,7 +436,7 @@ It is effective when @code{mm-text-html-renderer} (@pxref{Display
Customization}) is @code{shr}. In Gnus, this is overridden by the value Customization}) is @code{shr}. In Gnus, this is overridden by the value
of @code{gnus-blocked-images} or the return value of the function that of @code{gnus-blocked-images} or the return value of the function that
@code{gnus-blocked-images} is set to (@pxref{HTML, ,HTML, gnus, Gnus @code{gnus-blocked-images} is set to (@pxref{HTML, ,HTML, gnus, Gnus
manual}). The default is @code{nil}. manual}). The default is @code{""} that blocks all external images.
@item mm-w3m-safe-url-regexp @item mm-w3m-safe-url-regexp
@vindex mm-w3m-safe-url-regexp @vindex mm-w3m-safe-url-regexp

View file

@ -151,7 +151,7 @@ nil : use external viewer (default web browser)."
:type 'boolean :type 'boolean
:group 'mime-display) :group 'mime-display)
(defcustom mm-html-blocked-images nil (defcustom mm-html-blocked-images ""
"Regexp matching image URLs to be blocked, or nil meaning not to block. "Regexp matching image URLs to be blocked, or nil meaning not to block.
Note that cid images that are embedded in a message won't be blocked." Note that cid images that are embedded in a message won't be blocked."
:version "25.1" :version "25.1"