summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-11-27 12:11:33 +0000
committerMiles Bader <miles@gnu.org>2000-11-27 12:11:33 +0000
commit0c713b6f8892749b578e52deba2e5dec0f8114de (patch)
tree5f00021fb4f8256356105e1696e3e2219c0a3714 /lisp/dired-aux.el
parent2d795c92abaf9da80e7e94f2da047e5383a50d99 (diff)
downloademacs-0c713b6f8892749b578e52deba2e5dec0f8114de.tar.gz
(dired-add-entry): Call `dired-get-filename' with `verbatim' so that we
don't inadvertently delete a non-existant directory name.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el2
1 files changed, 1 insertions, 1 deletions
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)