summaryrefslogtreecommitdiff
path: root/lisp/international
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2005-04-25 04:30:38 +0000
committerKenichi Handa <handa@m17n.org>2005-04-25 04:30:38 +0000
commit901ae597141d825a65cecb812049a84982682606 (patch)
treed79bc9db437a7537a57a95db1d2c0cdf2a5a0e54 /lisp/international
parent0ed4adfc2c66da7f6711ae3f346e27c58288fa59 (diff)
downloademacs-901ae597141d825a65cecb812049a84982682606.tar.gz
(select-safe-coding-system): Don't
check consistency with coding: spec, etc if raw-text or no-conversion was found to be safe.
Diffstat (limited to 'lisp/international')
-rw-r--r--lisp/international/mule-cmds.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index b4f78918ef1..39cb1d05ca3 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -927,7 +927,9 @@ and TO is ignored."
;; 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)