Created
April 16, 2010 05:33
-
-
Save lamberta/368058 to your computer and use it in GitHub Desktop.
.emacs todo-list-mode startup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-to-list 'load-path "~/emacs/lisp/") ;my lisp dir | |
(autoload 'todo-list-mode "todo-list-mode") ;load when needed | |
;a simple function that opens the file, | |
;and switches to todo-list-mode. | |
(defun open-todo-list () | |
(interactive) | |
(find-file "~/notes/TODO") | |
(todo-list-mode)) | |
;then bind to control-f12 so i can call it with one keystroke | |
;this works well for me because i also bind calendar to f12 | |
(global-set-key [C-f12] 'open-todo-list) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment