all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* dired-make-relative-symlink
@ 2017-07-04 14:10 Pierre Lorenzon
  2017-07-04 15:21 ` dired-make-relative-symlink Pierre Lorenzon
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Lorenzon @ 2017-07-04 14:10 UTC (permalink / raw)
  To: rfrancoise; +Cc: help-gnu-emacs



Hi,

I wonder why the function dired-make-relative-symlink
recalculate the relative name of the file instead of using
file-relative-name of the files.el library.

Making a few tests it seems that both codes produce the same
result. Anyway maybe these tests are not torturing the code
enough.

files.el library seems to be very old and it looks strange to
me that when dired-x.el was developped files.el was not known.

I did not report that as a bug since it is not a bug but I
think that a system is more maintainable when code is not
duplicated.

Regards

PS/ Sory if I did not notice an evident reason for which the
code is so !



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-06  2:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 14:10 dired-make-relative-symlink Pierre Lorenzon
2017-07-04 15:21 ` dired-make-relative-symlink Pierre Lorenzon
2017-07-06  2:35   ` dired-make-relative-symlink Pierre Lorenzon

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.