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:
parent
d3d558a990
commit
b1f1ceb8aa
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user