From 65d3f1b11be6552d45a5d47b3cee14dd2331b189 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Wed, 27 May 2026 16:16:42 -0400 Subject: bugfix: fixing initial install --- lisp/org-custom.el | 4 ++++ lisp/web.el | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lisp') 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) ) -- cgit v1.2.1