1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

* vc-annotate.el (vc-annotate): Use the main file's coding-system to

decode annotated text, regardless of language environment.  (Bug#2741)
This commit is contained in:
Juanma Barranquero 2009-09-11 10:58:54 +00:00
parent 66205aea4b
commit 657bc6fcfd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-11 Juanma Barranquero <lekktu@gmail.com>
* vc-annotate.el (vc-annotate): Use the main file's coding-system to
decode annotated text, regardless of language environment. (Bug#2741)
2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
* Makefile.in (autoloads): Make rmail.el writable as well.

View File

@ -375,7 +375,8 @@ mode-specific menu. `vc-annotate-color-map' and
;; In case it had to be uniquified.
(setq temp-buffer-name (buffer-name))))
(with-output-to-temp-buffer temp-buffer-name
(let ((backend (vc-backend file)))
(let ((backend (vc-backend file))
(coding-system-for-read buffer-file-coding-system))
(vc-call-backend backend 'annotate-command file
(get-buffer temp-buffer-name) rev)
;; we must setup the mode first, and then set our local