Commit b1f1ceb8 authored by Markus Rost's avatar Markus Rost
Browse files

(set-visited-file-name): Use truename for buffer-file-name.

parent d3d558a9
2003-07-27 Markus Rost <rost@math.ohio-state.edu>
* files.el (set-visited-file-name): Use truename for buffer-file-name.
2003-07-26 Markus Rost <rost@math.ohio-state.edu>
 
* vc-hooks.el (vc-file-not-found-hook): Doc fix.
......
......@@ -2355,7 +2355,7 @@ the old visited file has been renamed to the new name FILENAME."
(progn
(setq buffer-file-truename (abbreviate-file-name truename))
(if find-file-visit-truename
(setq buffer-file-name buffer-file-truename))))
(setq buffer-file-name truename))))
(setq buffer-file-number
(if filename
(nthcdr 10 (file-attributes buffer-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