Mercurial > emacs
changeset 74028:82fde7e4c23b
(cvs-retrieve-revision): Set buffer-file-coding-system.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 17 Nov 2006 02:58:35 +0000 |
parents | c05de7bec057 |
children | d187fba051f6 |
files | lisp/ChangeLog lisp/pcvs.el |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Nov 16 20:53:46 2006 +0000 +++ b/lisp/ChangeLog Fri Nov 17 02:58:35 2006 +0000 @@ -1,3 +1,7 @@ +2006-11-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * pcvs.el (cvs-retrieve-revision): Set buffer-file-coding-system. + 2006-11-16 Chong Yidong <cyd@stupidchicken.com> * mouse.el (global-map): Change 2006-08-16 fix to call
--- a/lisp/pcvs.el Thu Nov 16 20:53:46 2006 +0000 +++ b/lisp/pcvs.el Fri Nov 17 02:58:35 2006 +0000 @@ -1741,6 +1741,8 @@ ;; into a sequence of chars. (decode-coding-inserted-region (point-min) (point-max) file t nil nil t) + ;; Set buffer-file-coding-system. + (after-insert-file-set-coding (buffer-size) t) (set-buffer-modified-p nil) (let ((buffer-file-name (expand-file-name file))) (after-find-file))