diff options
| author | Chong Yidong | 2011-01-08 16:22:19 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-08 16:22:19 -0500 |
| commit | 2b9f65621bbd3565a402a17ece337352c10f1488 (patch) | |
| tree | db42754ae9a1292abd006f5f9710fd49542fe81b | |
| parent | 3d91e302868dfb6bf12e697f81167447ce4a7250 (diff) | |
| download | emacs-2b9f65621bbd3565a402a17ece337352c10f1488.tar.gz emacs-2b9f65621bbd3565a402a17ece337352c10f1488.zip | |
* lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).
* doc/lispref/files.texi: Likewise.
| -rw-r--r-- | doc/lispref/files.texi | 2 | ||||
| -rw-r--r-- | lisp/files.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 2b539f00975..850cfd98220 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1919,7 +1919,7 @@ The variable @code{directory-abbrev-alist} contains an alist of | |||
| 1919 | abbreviations to use for file directories. Each element has the form | 1919 | abbreviations to use for file directories. Each element has the form |
| 1920 | @code{(@var{from} . @var{to})}, and says to replace @var{from} with | 1920 | @code{(@var{from} . @var{to})}, and says to replace @var{from} with |
| 1921 | @var{to} when it appears in a directory name. The @var{from} string is | 1921 | @var{to} when it appears in a directory name. The @var{from} string is |
| 1922 | actually a regular expression; it should always start with @samp{\`}. | 1922 | actually a regular expression; it ought to always start with @samp{\`}. |
| 1923 | The @var{to} string should be an ordinary absolute directory name. Do | 1923 | The @var{to} string should be an ordinary absolute directory name. Do |
| 1924 | not use @samp{~} to stand for a home directory in that string. The | 1924 | not use @samp{~} to stand for a home directory in that string. The |
| 1925 | function @code{abbreviate-file-name} performs these substitutions. | 1925 | function @code{abbreviate-file-name} performs these substitutions. |
diff --git a/lisp/files.el b/lisp/files.el index 6ff8af98dc1..1e03ba1920f 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -57,7 +57,7 @@ when it has unsaved changes." | |||
| 57 | A list of elements of the form (FROM . TO), each meaning to replace | 57 | A list of elements of the form (FROM . TO), each meaning to replace |
| 58 | FROM with TO when it appears in a directory name. This replacement is | 58 | FROM with TO when it appears in a directory name. This replacement is |
| 59 | done when setting up the default directory of a newly visited file. | 59 | done when setting up the default directory of a newly visited file. |
| 60 | *Every* FROM string should start with \"\\\\`\". | 60 | *Every* FROM string ought to start with \"\\\\`\". |
| 61 | 61 | ||
| 62 | FROM and TO should be equivalent names, which refer to the | 62 | FROM and TO should be equivalent names, which refer to the |
| 63 | same directory. Do not use `~' in the TO strings; | 63 | same directory. Do not use `~' in the TO strings; |