Commit 657bc6fc authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

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

  decode annotated text, regardless of language environment.  (Bug#2741)
parent 66205aea
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.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment