Call imagemagick-register-types automatically.
commitc505aaeb00a1c4f01e79f6e82216f83e33a77426
authorChong Yidong <cyd@gnu.org>
Mon, 16 Apr 2012 03:47:43 +0000 (16 11:47 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 16 Apr 2012 03:47:43 +0000 (16 11:47 +0800)
tree0b82af4d177fa555482229d01ae2075ae867b7fd
parentb62a57beb523298caa95c2d85c65eeb6e9af7af9
Call imagemagick-register-types automatically.

* lisp/image.el (imagemagick--extension-regexp): New variable.
(imagemagick-register-types): Use it.
(imagemagick-types-inhibit): Add :set function.  Allow new value
of t to inhibit all types.

* lisp/loadup.el (fboundp): Preload regexp-opt, needed by
imagemagick-register-types.

* lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
so we can preload it.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/regexp-opt.el
lisp/image.el
lisp/loadup.el