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.
This commit is contained in:
Bastien Guerry 2012-03-21 23:57:29 +01:00
parent 5f7d9bffd7
commit 652e5e0ecf
1 changed files with 3 additions and 1 deletions

View File

@ -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)