Re:Emacs standing alone on a Linux Kernel
by scott_karana on Tuesday September 16, 2014 @08:00PM
(#8327778)
Where would you find ln, though? ;)
[ Parent
| on HN ]
Re:Emacs standing alone on a Linux Kernel
by daveloyall on Wednesday September 17, 2014 @04:50PM
(#8332287)
make-symbolic-link is an interactive built-in function in `C source
code'.
(make-symbolic-link FILENAME LINKNAME &optional OK-IF-ALREADY-EXISTS)
Make a symbolic link to FILENAME, named LINKNAME.
Both args must be strings.
Signals a `file-already-exists' error if a file LINKNAME already exists
unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.
A number as third arg means request confirmation if LINKNAME already exists.
This happens for interactive use with M-x.
or... dired-do-symlink is an interactive autoloaded compiled Lisp function
in `dired-aux.el'.
(dired-do-symlink &optional ARG)
Make symbolic links to current file or all marked (or next ARG) files.
When operating on just the current file, you specify the new name.
When operating on multiple or marked files, you specify a directory
and new symbolic links are made in that directory
with the same names that the files currently have. The default
suggested for the target directory depends on the value of
`dired-dwim-target', which see.
For relative symlinks, use M-x dired-do-relsymlink.
...It doesn't seem to depend on an external `ln`.
http://git.savannah.gnu.org/cgit/emacs.git/tree/src/fileio.c...
Re:Emacs standing alone on a Linux Kernel
by scott_karana on Wednesday September 17, 2014 @04:58PM
(#8332329)
Nice find! :-)