From 2b9f65621bbd3565a402a17ece337352c10f1488 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 8 Jan 2011 16:22:19 -0500 Subject: [PATCH] * lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777). * doc/lispref/files.texi: Likewise. --- doc/lispref/files.texi | 2 +- 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 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. 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." 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; -- 2.39.5