changeset 33897:da7c75342507

(dired-add-entry): Call `dired-get-filename' with `verbatim' so that we don't inadvertently delete a non-existant directory name.
author Miles Bader <miles@gnu.org>
date Mon, 27 Nov 2000 12:11:33 +0000
parents c6633a26b63a
children 93b22ccc23e2
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Mon Nov 27 12:11:00 2000 +0000
+++ b/lisp/dired-aux.el	Mon Nov 27 12:11:33 2000 +0000
@@ -850,7 +850,7 @@
 	      ;; the relative one.  That may be hard to fix since it
 	      ;; is probably controlled by something in ftp.
 	      (goto-char opoint)	
-	      (let ((inserted-name (dired-get-filename)))
+	      (let ((inserted-name (dired-get-filename 'verbatim)))
 		(if (file-name-directory inserted-name)
 		    (progn
 		      (end-of-line)