changeset 61840:cf49166b834d

(select-safe-coding-system): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Tue, 26 Apr 2005 05:50:27 +0000
parents f2c42b716361
children a2361c57cf11
files lisp/international/mule-cmds.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Tue Apr 26 04:07:40 2005 +0000
+++ b/lisp/international/mule-cmds.el	Tue Apr 26 05:50:27 2005 +0000
@@ -929,7 +929,8 @@
     ;; by using `find-file-literally'.
     (unless (or (stringp from)
 		find-file-literally
-		(memq (coding-system-type coding-system) '(0 5)))
+		(and coding-system
+		     (memq (coding-system-type coding-system) '(0 5))))
       (let ((auto-cs (save-excursion
 		       (save-restriction
 			 (widen)