;;; -*- lexical-binding: t -*- (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (straight-use-package 'use-package) (setq straight-use-package-by-default t) (eval-when-compile (require 'use-package)) (require 'bind-key) (setq use-package-always-defer t) (setq use-package-verbose nil) (use-package org :defer nil :bind (("C-c l" . org-store-link) ("C-c a" . org-agenda)) :mode ("\\.\\(org\\|org_archive\\)$" . org-mode) :init (setq org-directory "~/org-dev" org-agenda-files (list org-directory)) :custom (org-log-done 'time) (org-log-redeadline 'time) (org-log-reschedule 'time) (org-log-into-drawer t) (org-log-state-notes-insert-after-drawers nil) (org-todo-keywords '((sequence "TODO(t)" "|" "DONE(x!)"))))