From 4b690a83340d0cd2efb6e93aff13349ffc545580 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 13 Oct 2007 14:10:21 +0000 Subject: [PATCH] (directory-abbrev-alist): Doc fix. --- lisp/ChangeLog | 4 ++++ lisp/files.el | 7 ++++--- 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 + + * files.el (directory-abbrev-alist): Doc fix. + 2007-10-13 Jari Aalto * 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)) -- 2.39.2