Add option imagemagick-types-enable
authorGlenn Morris <rgm@gnu.org>
Thu, 31 May 2012 07:22:33 +0000 (00:22 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 31 May 2012 07:22:33 +0000 (00:22 -0700)
commit32d72c2f5d7554ee2f1d37bb8aa210ee07165f25
tree062e0193098ce370be6f7cfb59cb247b89e9088a
parentca34e0be92d5e715c5d65b990917d2ecd15da318
Add option imagemagick-types-enable

* lisp/image.el: For clarity, call imagemagick-register-types at
top-level, rather than relying on a custom :initialize.
(imagemagick-types-enable): New option.
(imagemagick-register-types): Respect imagemagick-types-inhibit.
If disabling support, remove elements altogether rather
than using an impossible regexp.
(imagemagick-types-inhibit): Give it the default init function.

* src/image.c (Fimagemagick_types): Doc fix.

* etc/NEWS: Mention this.

Fixes: debbugs:11557
etc/NEWS
lisp/ChangeLog
lisp/image.el
src/ChangeLog
src/image.c