summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-10-13 14:10:21 +0000
committerRichard M. Stallman <rms@gnu.org>2007-10-13 14:10:21 +0000
commit4b690a83340d0cd2efb6e93aff13349ffc545580 (patch)
treed8309649f890e58d9e35abc61701dcc18f39d14f
parent4148f522b8f2f1aca27b92da6391a0d925207228 (diff)
downloademacs-4b690a83340d0cd2efb6e93aff13349ffc545580.tar.gz
(directory-abbrev-alist): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/files.el7
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 25880580103..7539d1c2c16 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-13 Richard Stallman <rms@gnu.org>
+
+ * files.el (directory-abbrev-alist): Doc fix.
+
2007-10-13 Jari Aalto <jari.aalto@cante.net>
* comint.el (comint-password-prompt-regexp): Add 'LDAP'.
diff --git a/lisp/files.el b/lisp/files.el
index 054f0e7d3a0..9ae4396946b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -59,8 +59,9 @@ 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 `^'.
-Do not use `~' in the TO strings.
-They should be ordinary absolute directory names.
+FROM and TO should be equivalent names, which refer to the
+same directory. Do not use `~' in the TO strings;
+they should be ordinary absolute directory names.
Use this feature when you have directories which you normally refer to
via absolute symbolic links. Make TO the name of the link, and FROM
@@ -554,7 +555,7 @@ See Info node `(elisp)Standard File Names' for more details."
(start 0))
;; Replace invalid filename characters with !
(while (string-match "[?*:<>|\"\000-\037]" name start)
- (aset name (match-beginning 0) ?!)
+ (aset name (match-beginning 0) ?!)
(setq start (match-end 0)))
name)
filename))