changeset 98867:6e47884b9b26

(shadow-initialize) <shadow-info-file, shadow-todo-file>: Run file names that begin with a period thru `convert-standard-filename'.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 19 Oct 2008 10:13:17 +0000
parents a2b77994ca7e
children 13379c367c35
files lisp/shadowfile.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shadowfile.el	Sun Oct 19 10:12:01 2008 +0000
+++ b/lisp/shadowfile.el	Sun Oct 19 10:13:17 2008 +0000
@@ -805,10 +805,11 @@
 	    (file-name-as-directory (shadow-expand-file-name "~"))))
   (if (null shadow-info-file)
       (setq shadow-info-file
-	    (shadow-expand-file-name "~/.shadows")))
+	    (shadow-expand-file-name (convert-standard-filename "~/.shadows"))))
   (if (null shadow-todo-file)
       (setq shadow-todo-file
-	    (shadow-expand-file-name "~/.shadow_todo")))
+	    (shadow-expand-file-name
+	     (convert-standard-filename "~/.shadow_todo"))))
   (if (not (shadow-read-files))
       (progn
 	(message "Shadowfile information files not found - aborting")