comparison lisp/files.el @ 112244:fb129cb53476

Fix bug #7777 with documentation of directory-abbrev-alist. lisp/files.el (directory-abbrev-alist): Doc fix. doc/lispref/files.texi (Directory Names): Explain why FROM in directory-abbrev-alist should begin with \`.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 07 Jan 2011 17:55:13 +0200
parents 290ee662951b
children 704fa1a3d5b4
comparison
equal deleted inserted replaced
112243:8c06638b3497 112244:fb129cb53476
54 nil 54 nil
55 "Alist of abbreviations for file directories. 55 "Alist of abbreviations for file directories.
56 A list of elements of the form (FROM . TO), each meaning to replace 56 A list of elements of the form (FROM . TO), each meaning to replace
57 FROM with TO when it appears in a directory name. This replacement is 57 FROM with TO when it appears in a directory name. This replacement is
58 done when setting up the default directory of a newly visited file. 58 done when setting up the default directory of a newly visited file.
59 *Every* FROM string should start with \"\\\\`\". 59
60 FROM is matched against directory names anchored at the first
61 character, so it should start with a \"\\\\`\", or, if directory
62 names cannot have embedded newlines, with a \"^\".
60 63
61 FROM and TO should be equivalent names, which refer to the 64 FROM and TO should be equivalent names, which refer to the
62 same directory. Do not use `~' in the TO strings; 65 same directory. Do not use `~' in the TO strings;
63 they should be ordinary absolute directory names. 66 they should be ordinary absolute directory names.
64 67