Mercurial > emacs
changeset 112166:81b6e1261c36
* lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).
* doc/lispref/files.texi: Likewise.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 08 Jan 2011 16:22:19 -0500 |
parents | fd05a6b39a42 |
children | 40ab7b8eb7a4 |
files | doc/lispref/files.texi lisp/files.el |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/files.texi Sat Jan 08 16:17:58 2011 -0500 +++ b/doc/lispref/files.texi Sat Jan 08 16:22:19 2011 -0500 @@ -1919,7 +1919,7 @@ 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.
--- a/lisp/files.el Sat Jan 08 16:17:58 2011 -0500 +++ b/lisp/files.el Sat Jan 08 16:22:19 2011 -0500 @@ -57,7 +57,7 @@ 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;