aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/pcvs.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2006-11-17 02:58:35 +0000
committerStefan Monnier <[email protected]>2006-11-17 02:58:35 +0000
commit3c5471b8a24ad279aa03717c5b1ef881bc183f25 (patch)
tree7eedf8ed33975847ceda9ede7e2016cac1551b2b /lisp/pcvs.el
parentf31493f9c18f9d2beab67dc6a730746c9c3a900a (diff)
(cvs-retrieve-revision): Set buffer-file-coding-system.
Diffstat (limited to 'lisp/pcvs.el')
-rw-r--r--lisp/pcvs.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index 1f2bad13dc..52237005d2 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))