Function: f-expand

f-expand is a byte-compiled function defined in f.el.

Signature

(f-expand PATH &optional DIR)

Documentation

Expand PATH relative to DIR (or default-directory).

PATH and DIR can be either a directory names or directory file names. Return a directory name if PATH is a directory name, and a directory file name otherwise. File name handlers are ignored.

Source Code

;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-expand (path &optional dir)
  "Expand PATH relative to DIR (or `default-directory').
PATH and DIR can be either a directory names or directory file
names.  Return a directory name if PATH is a directory name, and
a directory file name otherwise.  File name handlers are
ignored."
  (let (file-name-handler-alist)
    (expand-file-name path dir)))