From: Kenichi Handa Date: Tue, 26 Apr 2005 05:51:19 +0000 (+0000) Subject: (select-safe-coding-system): Fix X-Git-Tag: ttn-vms-21-2-B4~742 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc10bcbd5d4d12a67ba4d868c588b49db4ea90fa;p=emacs.git (select-safe-coding-system): Fix previous change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f45d3dba17f..bd04dfb19fc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-04-26 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system): Fix + previous change. + 2005-04-26 Lute Kamstra * calc/calc.el (calc-trail-mode): Don't set font-lock-defaults. diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 39cb1d05ca3..bc656113428 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -929,7 +929,8 @@ and TO is ignored." ;; 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)