Minor refactors, reformatting, & comment revision
This commit is contained in:
parent
95f40c62ab
commit
d79cea2e4c
7 changed files with 31 additions and 29 deletions
|
@ -149,7 +149,7 @@ If DIR is not a project, it will be indexed (but not cached)."
|
|||
|
||||
;;;###autoload
|
||||
(defun doom-project-ignored-p (project-root)
|
||||
"Return non-nil if remote or temporary file, or a straight package."
|
||||
(and (not (file-remote-p project-root))
|
||||
(or (file-in-directory-p project-root temporary-file-directory)
|
||||
(file-in-directory-p project-root doom-local-dir))))
|
||||
"Return non-nil if temporary file or a straight package."
|
||||
(unless (file-remote-p project-root)
|
||||
(or (file-in-directory-p project-root temporary-file-directory)
|
||||
(file-in-directory-p project-root doom-local-dir))))
|
||||
|
|
|
@ -109,7 +109,7 @@ Environment variables:
|
|||
auto-accept-p))
|
||||
(when doomdir
|
||||
(setenv "DOOMDIR" (file-name-as-directory doomdir))
|
||||
(print! (info "DOOMDIR=%s") localdir))
|
||||
(print! (info "DOOMDIR=%s") doomdir))
|
||||
(when localdir
|
||||
(setenv "DOOMLOCALDIR" (file-name-as-directory localdir))
|
||||
(print! (info "DOOMLOCALDIR=%s") localdir))
|
||||
|
|
|
@ -266,7 +266,7 @@ config.el instead."
|
|||
;; indicates misconfiguration (don't rely on case insensitivity for file names).
|
||||
(setq auto-mode-case-fold nil)
|
||||
|
||||
;; Disable bidirectional text rendering for a modest performance boost. I've set
|
||||
;; Disable bidirectional text scanning for a modest performance boost. I've set
|
||||
;; this to `nil' in the past, but the `bidi-display-reordering's docs say that
|
||||
;; is an undefined state and suggest this to be just as good:
|
||||
(setq-default bidi-display-reordering 'left-to-right
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue