1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(cvs-retrieve-revision): Set buffer-file-coding-system.

This commit is contained in:
Stefan Monnier 2006-11-17 02:58:35 +00:00
parent f31493f9c1
commit 3c5471b8a2
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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))