From 9fcb53c32a3281ac994b7486e00abebc546668f7 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 10 Jan 2018 11:29:44 -0800 Subject: [PATCH] load org mode only when needed --- emacs_el/configuration/don-configuration.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index 7b21a6d..fe33c77 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -837,11 +837,11 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori #+END_SRC ** Agenda Configuration #+BEGIN_SRC emacs-lisp - ;; The following lines are always needed. Choose your own keys. - (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) - (global-set-key "\C-cl" 'org-store-link) - (global-set-key "\C-ca" 'org-agenda) - (global-set-key "\C-cb" 'org-iswitchb) + :mode "\\.\\(org\\|org_archive\\|txt\\)$" + :bind (("C-c l" . org-store-link) + ("C-c a" . org-agenda) + ("C-c b" . org-iswitchb) + :config (setq-default org-log-done 'time) (setq-default org-agenda-ndays 5) -- 2.39.2