Function: image-file-handler
image-file-handler is a byte-compiled function defined in
image-file.el.gz.
Signature
(image-file-handler OPERATION &rest ARGS)
Documentation
Filename handler for inserting image files.
OPERATION is the operation to perform, on ARGS.
See file-name-handler-alist for details.
Source Code
;; Defined in /usr/src/emacs/lisp/image-file.el.gz
(defun image-file-handler (operation &rest args)
"Filename handler for inserting image files.
OPERATION is the operation to perform, on ARGS.
See `file-name-handler-alist' for details."
(if (and (eq operation 'insert-file-contents)
auto-image-file-mode)
(apply #'insert-image-file args)
;; We don't handle OPERATION, use another handler or the default
(apply #'image-file-call-underlying operation operation args)))