Function: dired-make-absolute

dired-make-absolute is a byte-compiled function defined in dired.el.gz.

Signature

(dired-make-absolute FILE &optional DIR)

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-make-absolute (file &optional dir)
  ;;"Convert FILE (a file name relative to DIR) to an absolute file name."
  ;; We can't always use expand-file-name as this would get rid of `.'
  ;; or expand in / instead default-directory if DIR=="".
  ;; This should be good enough for ange-ftp.
  ;; It should be reasonably fast, though, as it is called in
  ;; dired-get-filename.
  (concat (or dir default-directory) file))