diff options
| author | Glenn Morris | 2012-05-31 00:22:33 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-31 00:22:33 -0700 |
| commit | 32d72c2f5d7554ee2f1d37bb8aa210ee07165f25 (patch) | |
| tree | 062e0193098ce370be6f7cfb59cb247b89e9088a /etc | |
| parent | ca34e0be92d5e715c5d65b990917d2ecd15da318 (diff) | |
| download | emacs-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/NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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. |
| 61 | It is no longer necessary to call `imagemagick-register-types' | 61 | It is no longer necessary to call `imagemagick-register-types' |
| 62 | explicitly to install ImageMagick image types; that function is called | 62 | explicitly to install ImageMagick image types; that function is called |
| 63 | automatically at startup or when customizing `imagemagick-types-inhibit'. | 63 | automatically at startup, or when customizing imagemagick-types-enable |
| 64 | or 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 |
| 66 | ImageMagick to view images. You must call imagemagick-register-types | 67 | ImageMagick to view images. You must call imagemagick-register-types |
| 67 | afterwards if you do not use customize to change this. | 68 | afterwards if you do not use customize to change this. |
| 68 | 69 | ||
| 70 | *** The new variable `imagemagick-types-enable' also affects which | ||
| 71 | ImageMagick 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 |
| 70 | frames, if emacsclient is only told to open a new frame without | 74 | frames, if emacsclient is only told to open a new frame without |
| 71 | specifying any file to visit or expression to evaluate. | 75 | specifying any file to visit or expression to evaluate. |