summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew@matthewkosarek.xyz>2026-05-27 16:16:42 -0400
committerMatthew Kosarek <matthew@matthewkosarek.xyz>2026-05-27 16:16:42 -0400
commit65d3f1b11be6552d45a5d47b3cee14dd2331b189 (patch)
tree69e16e8053a035076edc666e4fb46da198404dc0 /lisp
parentfe471dd7cb63757e52bf8856ee74b9567d9058a8 (diff)
bugfix: fixing initial install
Diffstat (limited to 'lisp')
-rw-r--r--lisp/org-custom.el4
-rw-r--r--lisp/web.el3
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index a6c31c3..bbd2b64 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -56,6 +56,10 @@
(org-indent-mode 1)
(visual-line-mode 1))
+(dolist (dir '("~/OrgRoam" "~/OrgRoam/daily"))
+ (unless (file-directory-p dir)
+ (make-directory (expand-file-name dir) t)))
+
(setq org-directory "~/OrgRoam")
(setq org-agenda-files '("~/OrgRoam" "~/OrgRoam/daily"))
diff --git a/lisp/web.el b/lisp/web.el
index 6a3e118..2883041 100644
--- a/lisp/web.el
+++ b/lisp/web.el
@@ -32,8 +32,7 @@
(append flycheck-disabled-checkers
'(json-jsonlist)))
(flycheck-add-mode 'javascript-eslint 'js-mode)
- (flycheck-add-mode 'typescript-tslint 'typescript-mode)
- (add-hook 'js-mode-hook 'flycheck-mode)
+(add-hook 'js-mode-hook 'flycheck-mode)
(add-hook 'typescript-mode-hook 'flycheck-mode)
)