diff options
author | Richard M. Stallman <rms@gnu.org> | 1992-09-20 23:59:32 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1992-09-20 23:59:32 +0000 |
commit | ec8be6da94c78a4103677c77b9ab24ceef4451ec (patch) | |
tree | 4771b68ca545fea9c8f6296f1308d773f07aac7a /lisp | |
parent | f37dc9fbe5f8d8adbcde72d32a1db03dee077bac (diff) | |
download | emacs-ec8be6da94c78a4103677c77b9ab24ceef4451ec.tar.gz emacs-ec8be6da94c78a4103677c77b9ab24ceef4451ec.tar.bz2 emacs-ec8be6da94c78a4103677c77b9ab24ceef4451ec.zip |
entered into RCS
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/files.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index f784004c04a..32b21ca91e8 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1466,6 +1466,10 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'." "-c" (concat insert-directory-program " -d " switches " " (file-name-nondirectory file)))) +;;; ;; Chase links till we reach a non-link. +;;; (let (symlink) +;;; (while (setq symlink (file-symlink-p file)) +;;; (setq file symlink))) (call-process insert-directory-program nil t nil switches file)))))) (defun save-buffers-kill-emacs (&optional arg) |