Mercurial > hg > xemacs-beta
diff lisp/prim/files.el @ 108:360340f9fd5f r20-1b6
Import from CVS: tag r20-1b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:18:39 +0200 |
parents | a145efe76779 |
children | fe104dbd9147 |
line wrap: on
line diff
--- a/lisp/prim/files.el Mon Aug 13 09:17:27 2007 +0200 +++ b/lisp/prim/files.el Mon Aug 13 09:18:39 2007 +0200 @@ -604,7 +604,7 @@ with a prefix argument, you will be prompted for the coding system." (interactive "FFind file in other window: \nZCoding system: ") (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (switch-to-buffer-other-window (find-file-noselect filename))) (switch-to-buffer-other-window (find-file-noselect filename)))) @@ -616,7 +616,7 @@ with a prefix argument, you will be prompted for the coding system." (interactive "FFind file in other frame: \nZCoding system: ") (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (switch-to-buffer-other-frame (find-file-noselect filename))) (switch-to-buffer-other-frame (find-file-noselect filename)))) @@ -630,7 +630,7 @@ with a prefix argument, you will be prompted for the coding system." (interactive "fFind file read-only: \nZCoding system: ") (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (find-file filename)) (find-file filename)) @@ -646,7 +646,7 @@ with a prefix argument, you will be prompted for the coding system." (interactive "fFind file read-only other window: \nZCoding system: ") (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (find-file-other-window filename)) (find-file-other-window filename)) @@ -662,7 +662,7 @@ with a prefix argument, you will be prompted for the coding system." (interactive "fFind file read-only other frame: \nZCoding system: ") (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (find-file-other-frame filename)) (find-file-other-frame filename)) @@ -733,7 +733,7 @@ (progn (unlock-buffer) (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (find-file filename)) (find-file filename))) @@ -2305,7 +2305,7 @@ filename))) (let ((tem (if codesys - (let ((overriding-file-coding-system + (let ((coding-system-for-read (get-coding-system codesys))) (insert-file-contents filename)) (insert-file-contents filename))))