# HG changeset patch # User Kenichi Handa # Date 1114403421 0 # Node ID 3db68c7e3bdcecb181c111e9f8a9779d356fb742 # Parent df86749111d681532585f3363c638a2dc1a347ad (select-safe-coding-system): Don't check consistency with coding: spec, etc if raw-text or no-conversion was found to be safe. diff -r df86749111d6 -r 3db68c7e3bdc lisp/international/mule-cmds.el --- a/lisp/international/mule-cmds.el Mon Apr 25 01:46:56 2005 +0000 +++ b/lisp/international/mule-cmds.el Mon Apr 25 04:30:21 2005 +0000 @@ -927,7 +927,9 @@ ;; give when file is re-read. ;; But don't do this if we explicitly ignored the cookie ;; by using `find-file-literally'. - (unless (or (stringp from) find-file-literally) + (unless (or (stringp from) + find-file-literally + (memq (coding-system-type coding-system) '(0 5))) (let ((auto-cs (save-excursion (save-restriction (widen)