 	))
 
 (defun my-after-load-org()
-  (setq org-clock-out-remove-zero-time-clocks t)
-  (setq org-agenda-include-diary t)
-  (setq org-agenda-compact-blocks t)
-  (setq org-clock-persist 'history)
+  (defvar org-clock-out-remove-zero-time-clocks t)
+  (defvar org-agenda-include-diary t)
+  (defvar org-agenda-compact-blocks t)
+  (defvar org-clock-persist 'history)
   (org-clock-persistence-insinuate)
 
   (setq org-refile-targets (quote (("inbox.org" :maxlevel . 1)

;;     (shell-command-to-string excute-command-str))
;; )

(setq org-mime-library 'mml)
(add-hook 'message-mode-hook
          (lambda ()
            (local-set-key (kbd "C-c M-o") 'org-mime-htmlize)))
(add-hook 'org-mode-hook
          (lambda ()
            (local-set-key (kbd "C-c M-o") 'org-mime-org-buffer-htmlize)))
(setq org-mime-export-options '(:section-numbers nil
                                   :with-author nil
                                   :with-toc nil))
(provide 'init-org-mode)

  (setq org-log-done 'time)   ;;显示任务完成时间
  (setq org-refile-use-outline-path t)
  ;;ical
  (defvar org-agenda-include-diary t)
  )
 ;;setting workflow state
  (setq org-todo-keywords
