diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-09-11 10:58:54 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-09-11 10:58:54 +0000 |
commit | 657bc6fcfdf4ca259b70a9e04c451851cac6fc99 (patch) | |
tree | ea80432d0438bf8a8b28198d31720cde2cc56b72 /lisp/vc-annotate.el | |
parent | 66205aea4b2bb831618341af343d76be2cca58a7 (diff) | |
download | emacs-657bc6fcfdf4ca259b70a9e04c451851cac6fc99.tar.gz emacs-657bc6fcfdf4ca259b70a9e04c451851cac6fc99.tar.bz2 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)
Diffstat (limited to 'lisp/vc-annotate.el')
-rw-r--r-- | lisp/vc-annotate.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 ;; 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 |