]> git.eshelyaron.com Git - emacs.git/commitdiff
(image-file-handler): Put `safe-magic' property to
authorJuri Linkov <juri@jurta.org>
Tue, 8 Mar 2005 21:48:50 +0000 (21:48 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 8 Mar 2005 21:48:50 +0000 (21:48 +0000)
`image-file-handler'.

lisp/image-file.el

index 4a13019a0909505a4667e8700b76a87adafa9ef8..11676021afd276df0fc33a8b87d3a7ecba124f5f 100644 (file)
@@ -135,6 +135,7 @@ the command `insert-file-contents'."
          (setq truncate-lines t))))
     rval))
 
+(put 'image-file-handler 'safe-magic t)
 (defun image-file-handler (operation &rest args)
   "Filename handler for inserting image files.
 OPERATION is the operation to perform, on ARGS.