mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(dired-add-entry): Call dired-get-filename' with
verbatim' so that we
don't inadvertently delete a non-existant directory name.
This commit is contained in:
parent
2d795c92ab
commit
0c713b6f88
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user