Replace incorrect usage of doom-dir with doom-path

This commit is contained in:
Henrik Lissner 2019-07-22 04:20:52 +02:00
parent 76bb892a0c
commit 879ab3b2f3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ install understands the following switches:
--no-env Don't generate an envvars file (see `doom help env`)
--no-fonts Don't install (or prompt to install) all-the-icons fonts"
(print! (green "Installing Doom Emacs!\n"))
(let ((default-directory (doom-dir "~")))
(let ((default-directory (doom-path "~")))
;; Create `doom-private-dir'
(if (member "--no-config" args)
(print! (warn "Not copying private config template, as requested"))
@ -51,7 +51,7 @@ install understands the following switches:
(print! (success "Done!")))))
'(("init.el" .
(lambda ()
(insert-file-contents (doom-dir "init.example.el"))))
(insert-file-contents (doom-path "init.example.el"))))
("config.el" .
(lambda ()
(insert! ";;; %sconfig.el -*- lexical-binding: t; -*-\n\n"

View file

@ -272,7 +272,7 @@ Some commands of interest:
+ `+org-attach/file'
+ `+org-attach/url'
+ `+org-attach/sync'"
(setq org-attach-directory (doom-dir org-directory org-attach-directory))
(setq org-attach-directory (doom-path org-directory org-attach-directory))
;; A shorter link to attachments
(add-to-list 'org-link-abbrev-alist