Replace incorrect usage of doom-dir with doom-path
This commit is contained in:
parent
76bb892a0c
commit
879ab3b2f3
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ install understands the following switches:
|
||||||
--no-env Don't generate an envvars file (see `doom help env`)
|
--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"
|
--no-fonts Don't install (or prompt to install) all-the-icons fonts"
|
||||||
(print! (green "Installing Doom Emacs!\n"))
|
(print! (green "Installing Doom Emacs!\n"))
|
||||||
(let ((default-directory (doom-dir "~")))
|
(let ((default-directory (doom-path "~")))
|
||||||
;; Create `doom-private-dir'
|
;; Create `doom-private-dir'
|
||||||
(if (member "--no-config" args)
|
(if (member "--no-config" args)
|
||||||
(print! (warn "Not copying private config template, as requested"))
|
(print! (warn "Not copying private config template, as requested"))
|
||||||
|
@ -51,7 +51,7 @@ install understands the following switches:
|
||||||
(print! (success "Done!")))))
|
(print! (success "Done!")))))
|
||||||
'(("init.el" .
|
'(("init.el" .
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(insert-file-contents (doom-dir "init.example.el"))))
|
(insert-file-contents (doom-path "init.example.el"))))
|
||||||
("config.el" .
|
("config.el" .
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(insert! ";;; %sconfig.el -*- lexical-binding: t; -*-\n\n"
|
(insert! ";;; %sconfig.el -*- lexical-binding: t; -*-\n\n"
|
||||||
|
|
|
@ -272,7 +272,7 @@ Some commands of interest:
|
||||||
+ `+org-attach/file'
|
+ `+org-attach/file'
|
||||||
+ `+org-attach/url'
|
+ `+org-attach/url'
|
||||||
+ `+org-attach/sync'"
|
+ `+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
|
;; A shorter link to attachments
|
||||||
(add-to-list 'org-link-abbrev-alist
|
(add-to-list 'org-link-abbrev-alist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue