 
 ;; Silence a compiler warning
 (declare-function org-bookmark-jump-unhide "org")
+(declare-function whitespace-mode "whitespace")
 
 ;; General Org Settings
 (setq org-log-done t

;; Stuff for org-agenda.
(setq org-agenda-files '("~/documents/kb/lists/projects.org")
      org-stuck-projects '("+LEVEL=2/-DONE"
                           ("TODO" "NEXT" "PENDING" "DEPENDS")
                           nil "")
      org-agenda-custom-commands
      '(("p" "Projects" ((todo "TODO|NEXT")

        ("*" italic "<i>" "</i>")
        ("=" underline "<span style=\"text-decoration:underline;\">" "</span>")
        ("`" org-code "<code>" "</code>" verbatim)
        ("~" org-verbatim "<code>" "</code>" verbatim))

      ;; TODO keyword faces
      org-todo-keyword-faces
      '(("NEXT"    . (:inherit 'mode-line :background "#268bd2"))
        ("DAILY"   . (:inherit 'mode-line :background "#859900"))
        ("WAITING" . (:inherit 'mode-line :background "#d33682"))
        ("DEPENDS" . (:inherit 'mode-line :background "#2aa198"))))

;; Need to tell org-mode to update org-emphasis-alist
(org-set-emph-re 'org-emphasis-alist org-emphasis-alist)
