diff options
| author | Chong Yidong | 2011-01-28 12:29:30 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-28 12:29:30 -0500 |
| commit | 19f81ecfdea5447a02ebb58d6fe28c4b1367ddae (patch) | |
| tree | 71c19ecf00c3783deec9b386c0e2c480a4323cec /doc | |
| parent | d1f14baa30f7e2898bbfc7ea68fe93020b69a901 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 33 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-01-15 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-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 |
| 1185 | link, and you may want Emacs to preferentially display its ``linked'' | 1185 | link, and you may want Emacs to preferentially show its ``linked'' |
| 1186 | name instead of its truename. To do this, customize the variable | 1186 | name. To do this, customize @code{directory-abbrev-alist}. Each |
| 1187 | @code{directory-abbrev-alist}. Each element in this list should have | 1187 | element in this list should have the form @code{(@var{from} |
| 1188 | the 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 |
| 1190 | this feature to work properly, @var{from} and @var{to} should point to | 1190 | regular expression (@pxref{Regexps}). It is matched against directory |
| 1191 | the same file. The @var{from} string is actually a regular expression | 1191 | names 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 |
| 1193 | matching 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 | 1194 | directory name pointing to the same directory. Do not use @samp{~} to |
| 1195 | use @samp{~} to stand for a home directory in the @var{to} string; | 1195 | stand for a home directory in the @var{to} string; Emacs performs |
| 1196 | Emacs performs these substitutions separately. | 1196 | these substitutions separately. Here's an example, from a system on |
| 1197 | 1197 | which @file{/home/fsf} is normally accessed through a symbolic link | |
| 1198 | Here's an example, from a system on which file system | 1198 | named @file{/fsf}: |
| 1199 | @file{/home/fsf} and so on are normally accessed through symbolic | ||
| 1200 | links 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 |