refactor(lib): deprecate doom-dir
This function never really added much value over doom-path or file-name-concat, so I'm phasing it out.
This commit is contained in:
parent
f66d9e1f0e
commit
e986d6bef9
3 changed files with 4 additions and 9 deletions
|
@ -72,12 +72,7 @@ If the glob ends in a slash, only returns matching directories."
|
|||
(file-expand-wildcards path full?))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-dir (&rest segments)
|
||||
"Constructs a path from SEGMENTS.
|
||||
See `doom-path'.
|
||||
Ignores `nil' elements in SEGMENTS."
|
||||
(when-let (path (doom-path segments))
|
||||
(directory-file-name path)))
|
||||
(define-obsolete-function-alias 'doom-dir 'doom-path "3.0.0")
|
||||
|
||||
;;;###autoload
|
||||
(cl-defun doom-files-in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue