Mercurial > emacs
changeset 3151:923f5564a2a1
(find-file-noselect): Expand buffer-file-truename
before copying it to anything else.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 26 May 1993 23:19:07 +0000 |
parents | afc59d5d30c6 |
children | db5ef3863442 |
files | lisp/files.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Wed May 26 23:14:00 1993 +0000 +++ b/lisp/files.el Wed May 26 23:19:07 1993 +0000 @@ -608,7 +608,9 @@ (not (member logical find-file-not-true-dirname-list))) (setq buffer-file-name buffer-file-truename)) (if find-file-visit-truename - (setq buffer-file-name (setq filename buffer-file-truename))) + (setq buffer-file-name + (setq filename + (expand-file-name buffer-file-truename)))) ;; Set buffer's default directory to that of the file. (setq default-directory (file-name-directory filename)) ;; Turn off backup files for certain file names. Since