Mercurial > emacs
changeset 61820:3db68c7e3bdc
(select-safe-coding-system): Don't
check consistency with coding: spec, etc if raw-text or
no-conversion was found to be safe.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 25 Apr 2005 04:30:21 +0000 |
parents | df86749111d6 |
children | 2dda618124e0 |
files | lisp/international/mule-cmds.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)