From 3c5471b8a24ad279aa03717c5b1ef881bc183f25 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 17 Nov 2006 02:58:35 +0000 Subject: [PATCH] (cvs-retrieve-revision): Set buffer-file-coding-system. --- lisp/ChangeLog | 4 ++++ lisp/pcvs.el | 2 ++ 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e5b4a5df318..decec1e3f3d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-11-17 Stefan Monnier + + * pcvs.el (cvs-retrieve-revision): Set buffer-file-coding-system. + 2006-11-16 Chong Yidong * mouse.el (global-map): Change 2006-08-16 fix to call diff --git a/lisp/pcvs.el b/lisp/pcvs.el index 1f2bad13dcd..52237005d22 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el @@ -1741,6 +1741,8 @@ Signal an error if there is no backup file." ;; 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))