* lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).

* doc/lispref/files.texi: Likewise.
This commit is contained in:
Chong Yidong 2011-01-08 16:22:19 -05:00
parent 3d91e30286
commit 2b9f65621b
2 changed files with 2 additions and 2 deletions

View file

@ -1919,7 +1919,7 @@ The variable @code{directory-abbrev-alist} contains an alist of
abbreviations to use for file directories. Each element has the form
@code{(@var{from} . @var{to})}, and says to replace @var{from} with
@var{to} when it appears in a directory name. The @var{from} string is
actually a regular expression; it should always start with @samp{\`}.
actually a regular expression; it ought to always start with @samp{\`}.
The @var{to} string should be an ordinary absolute directory name. Do
not use @samp{~} to stand for a home directory in that string. The
function @code{abbreviate-file-name} performs these substitutions.

View file

@ -57,7 +57,7 @@ when it has unsaved changes."
A list of elements of the form (FROM . TO), each meaning to replace
FROM with TO when it appears in a directory name. This replacement is
done when setting up the default directory of a newly visited file.
*Every* FROM string should start with \"\\\\`\".
*Every* FROM string ought to start with \"\\\\`\".
FROM and TO should be equivalent names, which refer to the
same directory. Do not use `~' in the TO strings;