Commit cdec2ad7 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(insert-file-contents-literally): Allow it to be called within a magic file name

handler.
parent ad599c11
......@@ -1415,7 +1415,9 @@ This function ensures that none of these modifications will take place."
(if (fboundp 'find-buffer-file-type)
(symbol-function 'find-buffer-file-type)
nil))
(inhibit-file-name-handlers '(jka-compr-handler image-file-handler))
(inhibit-file-name-handlers
(append '(jka-compr-handler image-file-handler)
inhibit-file-name-handlers))
(inhibit-file-name-operation 'insert-file-contents))
(unwind-protect
(progn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment