# HG changeset patch # User Kenichi Handa # Date 960768283 0 # Node ID ab979e3b519aae355b4e8a521e7dcc94ad2da61b # Parent a68f208f3dba1af40ef422a62a67cf684b7eb188 (set-buffer-file-coding-system): If CODING-SYSTEM is nil, set buffer-file-coding-system to nil unconditionally. diff -r a68f208f3dba -r ab979e3b519a lisp/international/mule.el --- a/lisp/international/mule.el Mon Jun 12 00:03:29 2000 +0000 +++ b/lisp/international/mule.el Mon Jun 12 00:04:43 2000 +0000 @@ -815,7 +815,7 @@ `buffer-file-coding-system' directly." (interactive "zCoding system for visited file (default, nil): \nP") (check-coding-system coding-system) - (if (and buffer-file-coding-system (null force)) + (if (and coding-system buffer-file-coding-system (null force)) (let ((x (coding-system-eol-type buffer-file-coding-system)) (y (coding-system-eol-type coding-system))) (if (and (numberp x) (>= x 0) (<= x 2) (vectorp y))