diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-04-30 08:19:05 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-04-30 08:19:05 -0700 |
commit | daa630cb6d3930a4f1ff350f938a2f2337fa6499 (patch) | |
tree | 2e2bd43f01d7f254ebb8801405c27a26fe9e5e19 /emacs.d/custom | |
parent | [emacs] switch back to Source Code Pro for the font (diff) | |
download | emacs.d-daa630cb6d3930a4f1ff350f938a2f2337fa6499.tar.gz |
[emacs] Be explicit for new lines in org-mode.
I don't want newline when I create to do items, but when I write new entries in various docs, I want that newline. It's better to be explicit in the configuration.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r-- | emacs.d/custom/fcuny-org.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 1ca1880..cc333d2 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -25,7 +25,7 @@ ;; I want to follow links on RET (org-return-follows-link t) - (org-blank-before-new-entry (quote ((heading . t) + (org-blank-before-new-entry (quote ((heading . nil) (plain-list-item . nil)))) ;; A few abbreviations I use regularly @@ -91,22 +91,20 @@ ;; templates for personal things only. ("t" "Personal Todo" entry (file+headline ,(concat org-directory "/personal/tasks.org") "New") - "* TODO %?\n" - :empty-lines 1) + "* TODO %?\n") ("d" "Personal Journal" entry (file+olp+datetree ,(concat org-directory "/personal/journal.org")) "* %U %?\n" - :empty-lines 1) + :empty-lines 1 :tree-type week) ;; templates for work related things only. ("T" "Work Todo" entry (file+headline ,(concat org-directory "/twitter/tasks.org") "New") - "* TODO %?\n" - :empty-lines 1) + "* TODO %?\n") ("D" "Work Journal" entry (file+olp+datetree ,(concat org-directory "/twitter/journal.org")) "* %U %?\n" - :empty-lines 1) + :empty-lines 1 :tree-type week) ("M" "Meeting" entry (file+olp+datetree ,(concat org-directory "/twitter/meetings.org")) "* %U %^{TITLE}\n%?\n" |