From: Kenichi Handa Date: Fri, 26 May 2006 04:47:47 +0000 (+0000) Subject: (decode-coding-inserted-region): Call X-Git-Tag: emacs-pretest-22.0.90~2307 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=47a355de933fe933c6e936ca5745a2bf3047d383;p=emacs.git (decode-coding-inserted-region): Call find-operation-coding-system with (FILENAME . BUFFER). --- diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 72198bb1258..b66345ea3a8 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -1986,7 +1986,8 @@ Part of the job of this function is setting `buffer-undo-list' appropriately." (or coding (setq coding (car (find-operation-coding-system 'insert-file-contents - filename visit beg end replace)))) + (cons filename (current-buffer)) + visit beg end replace)))) (if (coding-system-p coding) (or enable-multibyte-characters (setq coding