From 30952ab6a52b2d0ce5c6d0044bd14908d4b1722c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 May 2015 20:06:11 +0200 Subject: 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. --- emacs/.emacs.d/site-lisp/org-init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/site-lisp/org-init.el') 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)) -- cgit v1.2.3-54-g00ecf