From 0c713b6f8892749b578e52deba2e5dec0f8114de Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 27 Nov 2000 12:11:33 +0000 Subject: [PATCH] (dired-add-entry): Call `dired-get-filename' with `verbatim' so that we don't inadvertently delete a non-existant directory name. --- lisp/dired-aux.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index dde77e3af43..5097979725b 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -850,7 +850,7 @@ a prefix arg lets you edit the `ls' switches used for the new listing." ;; 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) -- 2.39.2