open agenda when starting emacs

 

File modified: lisp/emacs.d/init.el lisp/emacs.d/ivan-org.el

Change362 at Thu Aug 26 12:20:58 2010 +0200 by Ivan Kanis <ivan@tao>

diff -r 03e69124d954 -r 8b8f56fbff8d lisp/emacs.d/ivan-org.el
--- a/lisp/emacs.d/ivan-org.el	Thu Aug 26 12:20:47 2010 +0200
+++ b/lisp/emacs.d/ivan-org.el	Thu Aug 26 12:20:58 2010 +0200
@@ -44,7 +44,7 @@
 (defun ivan-org-agenda ()
   (interactive)
   (run-hooks 'ivan-fun-portable-dir-hook)
-  (if (ivan-fun-start-or-switch 'org-agenda "*Org Agenda*" 1)
+  (if (ivan-fun-start-or-switch 'org-agenda-list "*Org Agenda*" 1)
       (progn
         (org-agenda-to-appt)
         (appt-activate))))
@@ -125,7 +125,7 @@
                       "M-k s" org-schedule
                       "C-c C-s" nil
                       "C-c C-p" ivan-org-publish)
-  
+
   (define-key org-mode-map "\C-j" ivan-org-ctrl-j-map))
 
 (add-hook 'org-mode-hook 'ivan-org-hook)
@@ -216,7 +216,7 @@
 
 ;; Copyright (C) 2007 Ivan Kanis
 ;; Author: Ivan Kanis
-;; 
+;;
 ;;
 ;; This program is free software ; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by


back