diff options
author | Alan Pearce | 2013-05-15 10:54:32 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-15 10:54:32 +0100 |
commit | 5b2b7b4b2edf7b882947017afca376c0b9e7a2f5 (patch) | |
tree | e87f77c94de2b4e5a9fa817f25fa1cef49284c43 /emacs/init.el | |
parent | f447bb9c95d2b40047f57fea19c70d061c19eeac (diff) | |
download | dotfiles-5b2b7b4b2edf7b882947017afca376c0b9e7a2f5.tar.lz dotfiles-5b2b7b4b2edf7b882947017afca376c0b9e7a2f5.tar.zst dotfiles-5b2b7b4b2edf7b882947017afca376c0b9e7a2f5.zip |
Emacs: fix org-mode package reference
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/emacs/init.el b/emacs/init.el index c90f20a..93a8d55 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -549,15 +549,15 @@ (setq calendar-week-start-day 1) (calendar-set-date-style 'iso))) -(use-package org-mode +(use-package org :bind (("C-c C-a" . org-agenda-list) ("C-c a" . org-agenda) ("C-c l" . org-store-list) ("C-c r" . org-remember) ("C-c b" . org-iswitchb)) :config (progn - (setq org-directory "~/org") - (setq org-agenda-files `(,org-directory) + (setq org-directory "~/org" + org-agenda-files `(,org-directory) org-default-notes-file (concat org-directory "/notes") @@ -588,8 +588,12 @@ org-blank-before-new-entry '((heading . t) (plain-list-item . auto)) - org-fontify-done-headline t) + org-fontify-done-headline t + org-replace-disputed-keys t + org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE") + (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED") + (sequence "|" "CANCELLED"))) (defadvice org-clock-in (after wicked activate) "Mark STARTED when clocked in" (save-excursion @@ -597,11 +601,7 @@ (org-back-to-heading t) (if (looking-at org-outline-regexp) (goto-char (1- (match-end 0)))) (if (looking-at (concat " +" org-todo-regexp "\\( +\\|[ \t]*$\\)")) - (org-todo "STARTED")))))) - :init (setq org-replace-disputed-keys t - org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE") - (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED") - (sequence "|" "CANCELLED")))) + (org-todo "STARTED"))))))) ;;;; Programming |