org-clock: Fix missing properties in Clock table

* lisp/org-clock.el (org-clocktable-write-default): Do not ignore
  properties specified by :properties parameter.

* testing/lisp/test-org-clock.el (test-org-clock/clocktable/properties):
  New test.

The regression was introduced in b897ab722.

Reported-by: Dale <dale@codefu.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/112219>
This commit is contained in:
Nicolas Goaziou 2017-02-18 20:22:30 +01:00
parent 9d9f5179e7
commit f70eb7d2e8
1 changed files with 1 additions and 1 deletions

View File

@ -2592,7 +2592,7 @@ from the dynamic block definition."
;; Get the list of node entries and iterate over it
(when (> maxlevel 0)
(pcase-dolist (`(,level ,headline ,ts ,time . ,props) entries)
(pcase-dolist (`(,level ,headline ,ts ,time ,props) entries)
(when narrow-cut-p
(setq headline
(if (and (string-match