Sfoglia il codice sorgente

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.
Bastien Guerry 13 anni fa
parent
commit
652e5e0ecf
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      lisp/org-colview.el

+ 3 - 1
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)