Mercurial > emacs
comparison doc/lispref/files.texi @ 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 | f0f8f95b6535 |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
112165:fd05a6b39a42 | 112166:81b6e1261c36 |
---|---|
1917 @defopt directory-abbrev-alist | 1917 @defopt directory-abbrev-alist |
1918 The variable @code{directory-abbrev-alist} contains an alist of | 1918 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. |
1926 | 1926 |
1927 You can set this variable in @file{site-init.el} to describe the | 1927 You can set this variable in @file{site-init.el} to describe the |