aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong2011-01-28 12:29:30 -0500
committerChong Yidong2011-01-28 12:29:30 -0500
commit19f81ecfdea5447a02ebb58d6fe28c4b1367ddae (patch)
tree71c19ecf00c3783deec9b386c0e2c480a4323cec /doc
parentd1f14baa30f7e2898bbfc7ea68fe93020b69a901 (diff)
downloademacs-19f81ecfdea5447a02ebb58d6fe28c4b1367ddae.tar.gz
emacs-19f81ecfdea5447a02ebb58d6fe28c4b1367ddae.zip
Remove text on directory-abbrev-alist omitted in 2011-01-08 commit.
* files.texi (File Aliases): Restore explanatory text from Eli Zaretskii, accidentally removed in 2011-01-08 commit.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/files.texi33
2 files changed, 20 insertions, 18 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 70cc9399a3f..4d4d38c2c5c 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12011-01-28 Chong Yidong <cyd@stupidchicken.com>
2
3 * files.texi (File Aliases): Restore explanatory text from Eli
4 Zaretskii, accidentally removed in 2011-01-08 commit.
5
12011-01-15 Chong Yidong <cyd@stupidchicken.com> 62011-01-15 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * building.texi (Compilation): Improve instructions for running two 8 * building.texi (Compilation): Improve instructions for running two
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index b16549450e4..b5e3bff6791 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1182,26 +1182,23 @@ implies the effect of @code{find-file-existing-other-name}.
1182@cindex directory name abbreviation 1182@cindex directory name abbreviation
1183@vindex directory-abbrev-alist 1183@vindex directory-abbrev-alist
1184 Sometimes, a directory is ordinarily accessed through a symbolic 1184 Sometimes, a directory is ordinarily accessed through a symbolic
1185link, and you may want Emacs to preferentially display its ``linked'' 1185link, and you may want Emacs to preferentially show its ``linked''
1186name instead of its truename. To do this, customize the variable 1186name. To do this, customize @code{directory-abbrev-alist}. Each
1187@code{directory-abbrev-alist}. Each element in this list should have 1187element in this list should have the form @code{(@var{from}
1188the form @code{(@var{from} . @var{to})}, which says to replace 1188. @var{to})}, which means to replace @var{from} with @var{to} whenever
1189@var{from} with @var{to} when it appears in a directory name. For 1189@var{from} appears in a directory name. The @var{from} string is a
1190this feature to work properly, @var{from} and @var{to} should point to 1190regular expression (@pxref{Regexps}). It is matched against directory
1191the same file. The @var{from} string is actually a regular expression 1191names anchored at the first character, and should start with @samp{\`}
1192(@pxref{Regexps}); it should always start with @samp{\`}, to avoid 1192(to support directory names with embedded newlines, which would defeat
1193matching to an incorrect part of the original directory name. The 1193@samp{^}). The @var{to} string should be an ordinary absolute
1194@var{to} string should be an ordinary absolute directory name. Do not 1194directory name pointing to the same directory. Do not use @samp{~} to
1195use @samp{~} to stand for a home directory in the @var{to} string; 1195stand for a home directory in the @var{to} string; Emacs performs
1196Emacs performs these substitutions separately. 1196these substitutions separately. Here's an example, from a system on
1197 1197which @file{/home/fsf} is normally accessed through a symbolic link
1198 Here's an example, from a system on which file system 1198named @file{/fsf}:
1199@file{/home/fsf} and so on are normally accessed through symbolic
1200links named @file{/fsf} and so on.
1201 1199
1202@example 1200@example
1203(("\\`/home/fsf" . "/fsf") 1201(("\\`/home/fsf" . "/fsf"))
1204 ("\\`/home/gd" . "/gd"))
1205@end example 1202@end example
1206 1203
1207@node Directories 1204@node Directories