Mercurial > emacs
changeset 36473:c1e752e8d255
(mm-inhibit-file-name-handlers): Add
image-file-handler.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 01 Mar 2001 20:17:08 +0000 |
parents | 856f9ab21ea7 |
children | d860a6ae5843 |
files | lisp/gnus/mm-util.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/mm-util.el Thu Mar 01 19:33:02 2001 +0000 +++ b/lisp/gnus/mm-util.el Thu Mar 01 20:17:08 2001 +0000 @@ -455,7 +455,7 @@ (nreverse out))) (defvar mm-inhibit-file-name-handlers - '(jka-compr-handler) + '(jka-compr-handler image-file-handler) "A list of handlers doing (un)compression (etc) thingies.") (defun mm-insert-file-contents (filename &optional visit beg end replace @@ -494,6 +494,8 @@ (let ((coding-system-for-write (or codesys mm-text-coding-system-for-write mm-text-coding-system)) + ;; Why on earth doesn't this just nullify + ;; file-name-handler-alist? -- fx (inhibit-file-name-operation (if inhibit 'append-to-file inhibit-file-name-operation))