diff options
author | Bastien Guerry <bzg@altern.org> | 2012-03-21 23:57:29 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-03-21 23:57:29 +0100 |
commit | 652e5e0ecfe54b75097a7048ff31a7f0e971a2a4 (patch) | |
tree | 91b1619e13064b33393a03ce8bfa938eccb7d053 | |
parent | 5f7d9bffd7fb3afc5f11767f4b1c832005f2cedc (diff) | |
download | org-mode-652e5e0ecfe54b75097a7048ff31a7f0e971a2a4.tar.gz |
Bugfix: use the date as the value for the ITEM column when displaying a summary.
* org-colview.el (org-columns-display-here): Bugfix: use the date as the
value for the ITEM column when displaying a summary.
Thanks to Rasmus Rempling for reporting this and to Nick Dokos for digging
further.
-rw-r--r-- | lisp/org-colview.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 04d2b62..95228cc 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -194,7 +194,9 @@ This is the compiled version of the format.") (point-at-bol) (point-at-eol))))) ;; In agenda, just get the `txt' property (org-no-properties - (org-get-at-bol 'txt)))) + (or (org-get-at-bol 'txt) + (buffer-substring + (point) (progn (end-of-line) (point))))))) (assoc property props)) width (or (cdr (assoc property org-columns-current-maxwidths)) (nth 2 column) |