]> git.eshelyaron.com Git - emacs.git/commit
Allow Dired to dereference symbolic links when copying
authorKaushal Modi <kaushal.modi@gmail.com>
Tue, 11 Aug 2020 13:16:11 +0000 (15:16 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Aug 2020 13:16:11 +0000 (15:16 +0200)
commit9b01badf7cf7bb6cd64bc8d39564b46ae74b889f
tree791e124233ea99963a1094f90eace3db24108db5
parentdcfd16cc687d622d66a72bc30bbeb5ae973dde03
Allow Dired to dereference symbolic links when copying

* doc/emacs/dired.texi (Operating on Files): Mention the new
defcustom (bug#25075).
* lisp/dired-aux.el (dired-do-copy): Invert the value of
`dired-copy-dereference' in lexical scope when prefix argument is
'(4). Update function documentation for the new defcustom.

* lisp/dired-aux.el (dired-copy-file): Use `dired-copy-dereference' as
the `dereference' argument to `dired-copy-file-recursive'.

* lisp/dired-aux.el (dired-copy-file-recursive): Add new optional
argument `dereference'.

* lisp/dired.el (dired-copy-dereference): New defcustom, defaults to
nil.
doc/emacs/dired.texi
etc/NEWS
lisp/dired-aux.el
lisp/dired.el