aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-01-08 16:22:19 -0500
committerChong Yidong2011-01-08 16:22:19 -0500
commit2b9f65621bbd3565a402a17ece337352c10f1488 (patch)
treedb42754ae9a1292abd006f5f9710fd49542fe81b
parent3d91e302868dfb6bf12e697f81167447ce4a7250 (diff)
downloademacs-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.texi2
-rw-r--r--lisp/files.el2
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
1919abbreviations to use for file directories. Each element has the form 1919abbreviations 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
1922actually a regular expression; it should always start with @samp{\`}. 1922actually a regular expression; it ought to always start with @samp{\`}.
1923The @var{to} string should be an ordinary absolute directory name. Do 1923The @var{to} string should be an ordinary absolute directory name. Do
1924not use @samp{~} to stand for a home directory in that string. The 1924not use @samp{~} to stand for a home directory in that string. The
1925function @code{abbreviate-file-name} performs these substitutions. 1925function @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."
57A list of elements of the form (FROM . TO), each meaning to replace 57A list of elements of the form (FROM . TO), each meaning to replace
58FROM with TO when it appears in a directory name. This replacement is 58FROM with TO when it appears in a directory name. This replacement is
59done when setting up the default directory of a newly visited file. 59done 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
62FROM and TO should be equivalent names, which refer to the 62FROM and TO should be equivalent names, which refer to the
63same directory. Do not use `~' in the TO strings; 63same directory. Do not use `~' in the TO strings;