aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris2012-05-31 00:22:33 -0700
committerGlenn Morris2012-05-31 00:22:33 -0700
commit32d72c2f5d7554ee2f1d37bb8aa210ee07165f25 (patch)
tree062e0193098ce370be6f7cfb59cb247b89e9088a /etc
parentca34e0be92d5e715c5d65b990917d2ecd15da318 (diff)
downloademacs-32d72c2f5d7554ee2f1d37bb8aa210ee07165f25.tar.gz
emacs-32d72c2f5d7554ee2f1d37bb8aa210ee07165f25.zip
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
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index dd22abfb9d1..ff662a70c1c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -60,12 +60,16 @@ name, group names known to the system (where possible).
60** ImageMagick support, if available, is automatically enabled. 60** ImageMagick support, if available, is automatically enabled.
61It is no longer necessary to call `imagemagick-register-types' 61It is no longer necessary to call `imagemagick-register-types'
62explicitly to install ImageMagick image types; that function is called 62explicitly to install ImageMagick image types; that function is called
63automatically at startup or when customizing `imagemagick-types-inhibit'. 63automatically at startup, or when customizing imagemagick-types-enable
64or imagemagick-types-inhibit.
64 65
65*** Setting `imagemagick-types-inhibit' to t now disables the use of 66*** Setting `imagemagick-types-inhibit' to t now disables the use of
66ImageMagick to view images. You must call imagemagick-register-types 67ImageMagick to view images. You must call imagemagick-register-types
67afterwards if you do not use customize to change this. 68afterwards if you do not use customize to change this.
68 69
70*** The new variable `imagemagick-types-enable' also affects which
71ImageMagick types are treated as images.
72
69** String values for `initial-buffer-choice' also apply to emacsclient 73** String values for `initial-buffer-choice' also apply to emacsclient
70frames, if emacsclient is only told to open a new frame without 74frames, if emacsclient is only told to open a new frame without
71specifying any file to visit or expression to evaluate. 75specifying any file to visit or expression to evaluate.