]> git.eshelyaron.com Git - emacs.git/commit
Allow to copy/rename file into a non-existent dir
authorTino Calancha <tino.calancha@gmail.com>
Sat, 21 Oct 2017 04:05:48 +0000 (13:05 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sat, 21 Oct 2017 04:05:48 +0000 (13:05 +0900)
commitcb29f41624e5163a0aea4bfc98591e683807a2f8
tree78783e1c8a2010be53feeb6e20e9abde309806f3
parentc75f505dea6a560b825384cf3d277690f86840bf
Allow to copy/rename file into a non-existent dir

* lisp/dired-aux.el (dired-create-destination-dirs): New option.
(dired-maybe-create-dirs): New defun.
(dired-copy-file-recursive, dired-rename-file): Use it (Bug#28834).
* lisp/dired-aux-tests.el (dired-test-bug28834): Add test.
* doc/emacs/dired.texi (Operating on Files): Update manual.
* etc/NEWS (Changes in Specialized Modes and Packages in Emacs 27.1)
Announce this change.
doc/emacs/dired.texi
etc/NEWS
lisp/dired-aux.el
test/lisp/dired-aux-tests.el