projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1f795
)
Fix copying symbolic links in eshell
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 30 Oct 2020 15:07:21 +0000
(16:07 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 30 Oct 2020 15:07:25 +0000
(16:07 +0100)
* lisp/eshell/em-unix.el (eshell-shuffle-files): Don't bug out
when copying symbolic links (bug#38577).
lisp/eshell/em-unix.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/em-unix.el
b/lisp/eshell/em-unix.el
index fd4cd6716d2ad54adea6cb5e012b47612477d009..68aa680327855cbe61a94406b42af2e04962c358 100644
(file)
--- a/
lisp/eshell/em-unix.el
+++ b/
lisp/eshell/em-unix.el
@@
-439,7
+439,10
@@
Remove the DIRECTORY(ies), if they are empty.")
(setq link (file-symlink-p source)))
(progn
(apply 'eshell-funcalln 'make-symbolic-link
- link target args)
+ link target
+ ;; `make-symbolic-link' doesn't have
+ ;; KEEP-TIME; just OK-IF-ALREADY-EXISTS.
+ (list (car args)))
(if (eq func 'rename-file)
(if (and (file-directory-p source)
(not (file-symlink-p source)))