1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

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

This commit is contained in:
Markus Rost 2003-07-27 19:54:09 +00:00
parent d3d558a990
commit b1f1ceb8aa
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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))