aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2009-09-11 10:58:54 +0000
committerJuanma Barranquero2009-09-11 10:58:54 +0000
commit657bc6fcfdf4ca259b70a9e04c451851cac6fc99 (patch)
treeea80432d0438bf8a8b28198d31720cde2cc56b72
parent66205aea4b2bb831618341af343d76be2cca58a7 (diff)
downloademacs-657bc6fcfdf4ca259b70a9e04c451851cac6fc99.tar.gz
emacs-657bc6fcfdf4ca259b70a9e04c451851cac6fc99.zip
* vc-annotate.el (vc-annotate): Use the main file's coding-system to
decode annotated text, regardless of language environment. (Bug#2741)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc-annotate.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b9d3faa625..4b03b01e65d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-09-11 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
4 decode annotated text, regardless of language environment. (Bug#2741)
5
12009-09-11 Stefan Monnier <monnier@iro.umontreal.ca> 62009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * Makefile.in (autoloads): Make rmail.el writable as well. 8 * Makefile.in (autoloads): Make rmail.el writable as well.
diff --git a/lisp/vc-annotate.el b/lisp/vc-annotate.el
index 22ff3dac992..6c7ae5a876b 100644
--- a/lisp/vc-annotate.el
+++ b/lisp/vc-annotate.el
@@ -375,7 +375,8 @@ mode-specific menu. `vc-annotate-color-map' and
375 ;; In case it had to be uniquified. 375 ;; In case it had to be uniquified.
376 (setq temp-buffer-name (buffer-name)))) 376 (setq temp-buffer-name (buffer-name))))
377 (with-output-to-temp-buffer temp-buffer-name 377 (with-output-to-temp-buffer temp-buffer-name
378 (let ((backend (vc-backend file))) 378 (let ((backend (vc-backend file))
379 (coding-system-for-read buffer-file-coding-system))
379 (vc-call-backend backend 'annotate-command file 380 (vc-call-backend backend 'annotate-command file
380 (get-buffer temp-buffer-name) rev) 381 (get-buffer temp-buffer-name) rev)
381 ;; we must setup the mode first, and then set our local 382 ;; we must setup the mode first, and then set our local