summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/site-lisp/org-init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-05-25 20:06:11 +0200
committerGravatar Tom Willemse2015-05-25 20:06:11 +0200
commit30952ab6a52b2d0ce5c6d0044bd14908d4b1722c (patch)
treee6ec0e049b312937b7a82fa6a488da37be06c76d /emacs/.emacs.d/site-lisp/org-init.el
parent3eb9eb45f32ad978e128f04c3911eb43af9b161c (diff)
downloaddotfiles-30952ab6a52b2d0ce5c6d0044bd14908d4b1722c.tar.gz
dotfiles-30952ab6a52b2d0ce5c6d0044bd14908d4b1722c.zip
Remove the first part in showing the outline
The first part is an artifact from the way I've been using GTD and the other parts (if any) make the first implicit.
Diffstat (limited to 'emacs/.emacs.d/site-lisp/org-init.el')
-rw-r--r--emacs/.emacs.d/site-lisp/org-init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/site-lisp/org-init.el b/emacs/.emacs.d/site-lisp/org-init.el
index edfc3e1..ba48997 100644
--- a/emacs/.emacs.d/site-lisp/org-init.el
+++ b/emacs/.emacs.d/site-lisp/org-init.el
@@ -77,7 +77,8 @@
"* " (alist-get 'subject task) "\n")))
(defun oni:org-maybe-outline-path ()
- (let ((outline-path (org-format-outline-path (org-get-outline-path))))
+ (let ((outline-path (org-format-outline-path
+ (cdr (org-get-outline-path)))))
(unless (string= outline-path "")
(setq outline-path (concat "[ " outline-path " ] ")))
outline-path))