Mercurial > emacs
changeset 68310:7badc603f7ab
(File Aliases): Don't claim that usually separate buffers are created for two
file names that name the same data. Mention additional situations where
different names mean the same file on disk.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 21 Jan 2006 11:39:05 +0000 |
parents | ec6b28b7cce4 |
children | 8db317ab20fc |
files | man/files.texi |
diffstat | 1 files changed, 9 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/man/files.texi Sat Jan 21 09:32:52 2006 +0000 +++ b/man/files.texi Sat Jan 21 11:39:05 2006 +0000 @@ -1150,21 +1150,20 @@ @file{foo} is just an alias. More complex cases occur when symbolic links point to directories. - If you visit two names for the same file, normally Emacs makes -two different buffers, but it warns you about the situation. - @vindex find-file-existing-other-name @vindex find-file-suppress-same-file-warnings + Normally, if you visit a file which Emacs is already visiting under a different name, Emacs displays a message in the echo area and uses the existing buffer visiting that file. This can happen on systems -that support symbolic links, or if you use a long file name on a -system that truncates long file names. You can suppress the message by -setting the variable @code{find-file-suppress-same-file-warnings} to a -non-@code{nil} value. You can disable this feature entirely by setting -the variable @code{find-file-existing-other-name} to @code{nil}: then -if you visit the same file under two different names, you get a separate -buffer for each file name. +that support hard or symbolic links, or if you use a long file name on +a system that truncates long file names, or on a case-insensitive file +system. You can suppress the message by setting the variable +@code{find-file-suppress-same-file-warnings} to a non-@code{nil} +value. You can disable this feature entirely by setting the variable +@code{find-file-existing-other-name} to @code{nil}: then if you visit +the same file under two different names, you get a separate buffer for +each file name. @vindex find-file-visit-truename @cindex truenames of files