summaryrefslogtreecommitdiff
path: root/lisp/image-file.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-03-08 21:48:50 +0000
committerJuri Linkov <juri@jurta.org>2005-03-08 21:48:50 +0000
commit15a420bd3f415e4134d89f9c204ce4f5a18c0d3d (patch)
treeed540e2ca5444b7c38728b1b6cbec4eae6cbb406 /lisp/image-file.el
parent51d23bd053b36c85874696b7a9cfa2d40877cd30 (diff)
downloademacs-15a420bd3f415e4134d89f9c204ce4f5a18c0d3d.tar.gz
(image-file-handler): Put `safe-magic' property to
`image-file-handler'.
Diffstat (limited to 'lisp/image-file.el')
-rw-r--r--lisp/image-file.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/image-file.el b/lisp/image-file.el
index 4a13019a090..11676021afd 100644
--- a/lisp/image-file.el
+++ b/lisp/image-file.el
@@ -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.