Commit 066b7259 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(vc-follow-link): Complete last change.

parent 179bdd60
2008-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
* vc-hooks.el (vc-follow-link): Complete last change.
2008-11-23 Juanma Barranquero <lekktu@gmail.com>
 
* textmodes/remember.el (remember-region): Doc fix.
......
......@@ -853,7 +853,7 @@ current, and kill the buffer that visits the link."
(let* ((true-buffer (find-buffer-visiting buffer-file-truename))
(this-buffer (current-buffer)))
(if (eq true-buffer this-buffer)
(progn
(let ((truename buffer-file-truename))
(kill-buffer this-buffer)
;; In principle, we could do something like set-visited-file-name.
;; However, it can't be exactly the same as set-visited-file-name.
......
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