[Org] Minor reformatting

This commit is contained in:
Daniel - 2018-11-03 11:19:30 +01:00
parent bfe12ddc24
commit aaba12a8e2
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 6 additions and 1 deletions

View File

@ -779,12 +779,15 @@ _h_ _l_ _o_k _y_ank
;; Skip some org mode regions to be skipped by ispell ;; Skip some org mode regions to be skipped by ispell
(add-hook 'org-mode-hook #'endless/org-ispell) (add-hook 'org-mode-hook #'endless/org-ispell)
;; Some timers
(unless (memq #'org-clock-save (unless (memq #'org-clock-save
(mapcar #'timer--function timer-list)) (mapcar #'timer--function timer-list))
(run-with-timer 0 3600 #'org-clock-save)) (run-with-timer 0 3600 #'org-clock-save))
(unless (memq #'db/export-diary (unless (memq #'db/export-diary
(mapcar #'timer--function timer-idle-list)) (mapcar #'timer--function timer-idle-list))
(run-with-idle-timer 20 t #'db/export-diary)))) (run-with-idle-timer 20 t #'db/export-diary))
;; Drag-and-Drop images into org-mode buffer ;; Drag-and-Drop images into org-mode buffer
(use-package org-download) (use-package org-download)
@ -1035,6 +1038,8 @@ _h_ _l_ _o_k _y_ank
:config (setf (alist-get :results org-babel-default-header-args) :config (setf (alist-get :results org-babel-default-header-args)
"output code replace")) "output code replace"))
;; Exporting
(use-package ox-icalendar (use-package ox-icalendar
:commands (org-icalendar-combine-agenda-files) :commands (org-icalendar-combine-agenda-files)
:init (setq org-icalendar-include-body nil :init (setq org-icalendar-include-body nil