Make copy-directory act like copy-file etc.
commite22794867d878d53675fcc91d2ef1ad2494a2ff2
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Sep 2017 05:07:30 +0000 (10 22:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Sep 2017 05:31:23 +0000 (10 22:31 -0700)
tree49339927ea210b509507e704067cfe689145fc00
parentcf9891e14e48a93bca2065fdd7998f5f677786dc
Make copy-directory act like copy-file etc.

Do the special dance with the destination only if it is a
directory name, for consistency with copy-file etc. (Bug#27986).
* doc/emacs/files.texi (Copying and Naming):
* doc/lispref/files.texi (Create/Delete Dirs):
* etc/NEWS: Document this.
* lisp/files.el (copy-directory): Treat NEWNAME as special
only if it is a directory name.
doc/emacs/files.texi
doc/lispref/files.texi
etc/NEWS
lisp/files.el