summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-05-28 21:21:04 +0100
committerAlan Pearce2013-05-28 21:21:04 +0100
commitf59f31505c64291c7f247fcfded0ba8ff3c513b5 (patch)
treeed60f15e80e4eb7df0ce32d81e9bcdbe8e6e9e05
parentea157ffc4382057bd3f2e924e80866ebd2fd33d7 (diff)
downloaddotfiles-f59f31505c64291c7f247fcfded0ba8ff3c513b5.tar.lz
dotfiles-f59f31505c64291c7f247fcfded0ba8ff3c513b5.tar.zst
dotfiles-f59f31505c64291c7f247fcfded0ba8ff3c513b5.zip
Emacs: add register bindings for emacs init file and organiser.org
-rw-r--r--emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 4941e36..13833c2 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -465,6 +465,8 @@ Values: `desktop', `server', `laptop'")
 
 (bind-key "C-c i" #'ucs-insert)
 
+(set-register ?e `(file . ,user-init-file))
+
 ;; Enable narrowing functions C-x n
 (put 'narrow-to-defun  'disabled nil)
 (put 'narrow-to-page   'disabled nil)
@@ -596,6 +598,7 @@ Values: `desktop', `server', `laptop'")
                   org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE")
                                       (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED")
                                       (sequence "|" "CANCELLED")))
+            (set-register ?o `(file . ,(expand-file-name "organiser.org" org-directory)))
             (defadvice org-clock-in (after wicked activate)
               "Mark STARTED when clocked in"
               (save-excursion