diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/org-custom.el | 4 | ||||
| -rw-r--r-- | lisp/web.el | 3 |
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) ) |
